krll/Dockerfile

10 lines
215 B
Docker
Raw Permalink Normal View History

2024-02-19 12:21:12 +09:00
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