mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 20:51:49 +02:00
turns off buffering for easier container logging
This commit is contained in:
parent
1083dbc32b
commit
ba361bec93
1 changed files with 5 additions and 4 deletions
|
@ -1,9 +1,10 @@
|
||||||
FROM python:3.10-alpine
|
FROM python:3.10-alpine
|
||||||
|
|
||||||
ENV PORT="8000"
|
ENV PORT="8000" \
|
||||||
|
# Keeps Python from generating .pyc files in the container
|
||||||
# Keeps Python from generating .pyc files in the container
|
PYTHONDONTWRITEBYTECODE=1 \
|
||||||
ENV PYTHONDONTWRITEBYTECODE=1
|
# Turns off buffering for easier container logging
|
||||||
|
PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
# ihatemoney configuration
|
# ihatemoney configuration
|
||||||
ENV DEBUG="False" \
|
ENV DEBUG="False" \
|
||||||
|
|
Loading…
Reference in a new issue