krll/Dockerfile
2024-02-19 12:21:12 +09:00

10 lines
215 B
Docker

FROM python:latest
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir --upgrade -r requirements.txt
ENTRYPOINT gunicorn main:app --workers 4 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000