Mono / Dockerfile
AIMaster7's picture
Update Dockerfile
ab3dadc verified
raw
history blame contribute delete
267 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["gunicorn", "-k", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:8000", "main:app", "--workers", "4", "--timeout", "210"]