From 98b08cb2e334aacad19b0dc704bcda4b77fa4ce2 Mon Sep 17 00:00:00 2001 From: Klaas van Schelven Date: Tue, 27 Aug 2024 21:57:02 +0200 Subject: [PATCH] Run PYTHONUNBUFFERED 'for good measure'; I've seen this before and remembered it (i.e. I have not actually observed a need for it this time). https://stackoverflow.com/a/59812588/339144 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index e63d029..55d2e73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,7 @@ FROM python:${PYTHON_VERSION}-slim # ARGs are not inherited from the build stage; https://stackoverflow.com/a/56748289/339144 ARG WHEEL_FILE +ENV PYTHONUNBUFFERED=1 WORKDIR /app