turns off buffering for easier container logging

This commit is contained in:
Youe Graillot 2021-11-16 15:16:45 +01:00
parent 1083dbc32b
commit ba361bec93

View file

@ -1,9 +1,10 @@
FROM python:3.10-alpine
ENV PORT="8000"
ENV PORT="8000" \
# Keeps Python from generating .pyc files in the container
ENV PYTHONDONTWRITEBYTECODE=1
PYTHONDONTWRITEBYTECODE=1 \
# Turns off buffering for easier container logging
PYTHONUNBUFFERED=1
# ihatemoney configuration
ENV DEBUG="False" \