9 lines
193 B
Docker
9 lines
193 B
Docker
|
FROM python:3
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY requirements.txt ./
|
||
|
RUN pip install -r requirements.txt
|
||
|
|
||
|
COPY *.py ./
|
||
|
CMD ["gunicorn", "--workers", "10", "--bind", "[::]:5000", "main:app", "--timeout", "90"]
|