From 8c8045011bdfb5433dc310f5affbee6901bd5e20 Mon Sep 17 00:00:00 2001 From: Jack Hadrill Date: Tue, 12 Nov 2024 23:39:37 +0000 Subject: [PATCH] Add unbuffered Python env to Dockerfile --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index e040594..221a255 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,6 @@ RUN pip install --no-cache-dir -r requirements.txt COPY app.py . +ENV PYTHONUNBUFFERED=1 + CMD ["python", "app.py"] \ No newline at end of file