File size: 235 Bytes
9919dd1 |
1 2 3 4 5 6 7 8 |
FROM python:3.9-slim
WORKDIR /webapp
COPY . .
RUN rm -r ./docker
RUN pip install --no-cache-dir -r requirements.txt
CMD ["gunicorn", "app:app", "--timeout", "120", "--workers=3", "--threads=3", "--worker-connections=1000"]
EXPOSE 5002
|