From 241756ff918c8f1c48d91d50433fa1bc73e5b187 Mon Sep 17 00:00:00 2001 From: Pete Bachant Date: Mon, 5 Aug 2024 05:33:05 -0700 Subject: [PATCH] Add PYTHONUNBUFFERED=1 to backend Dockerfile so app can log messages --- backend/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/Dockerfile b/backend/Dockerfile index c3187aeb28..ca3baf792d 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -17,6 +17,8 @@ RUN bash -c "if [ $INSTALL_DEV == 'true' ] ; then poetry install --no-root ; els ENV PYTHONPATH=/app +ENV PYTHONUNBUFFERED=1 + COPY ./scripts/ /app/ COPY ./alembic.ini /app/