Increase the gunicorn worker timeout

This commit is contained in:
Christoph Reiter 2021-07-12 06:53:47 +02:00
parent f4a9f1a3ab
commit 55c6bcc9d2

View File

@ -23,6 +23,6 @@ RUN apt-get update && apt-get install -y \
WORKDIR /app
ENV PATH="/app/.venv/bin:$PATH"
ENTRYPOINT ["gunicorn", "-k", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:80", "app:app"]
ENTRYPOINT ["gunicorn", "-k", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:80", "--timeout", "60", "app:app"]
EXPOSE 80