10 lines
215 B
Docker
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
|