Logging stuff
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-08-09 15:48:19 +02:00
parent fc4f8b9d79
commit 01d7c76cff
2 changed files with 21 additions and 2 deletions

View File

@ -9,6 +9,8 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN pip3 install -r requirements.txt
EXPOSE 8000
CMD ["gunicorn", "-b", "0.0.0.0:8000", "app:app"]
ENV GUNICORN_LOGLEVEL="info"
EXPOSE 8000
CMD ["gunicorn", "-b", "0.0.0.0:8000", "--log-level", "${GUNICORN_LOGLEVEL}", "app:app"]