19 lines
376 B
Docker
19 lines
376 B
Docker
FROM python:3.13-slim
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y build-essential
|
|
|
|
RUN gcc --version
|
|
RUN rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
# Finally, run gunicorn.
|
|
CMD [ "python", "ws_clob.py"]
|
|
# CMD [ "gunicorn", "--workers=5", "--threads=1", "-b 0.0.0.0:8000", "app:server"] |