From 412a3303b29255bbcce2bf37e662ac9abc654f28 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Soblet Date: Fri, 6 Dec 2024 16:04:56 +0100 Subject: [PATCH] Ensure the output is sent directly to the terminal without being buffered. --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 53de782..ad97331 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,8 @@ FROM python:3.8.2-alpine +# Ensure the output is sent directly to the terminal without being buffered. +ENV PYTHONUNBUFFERED 1 + COPY server.py /app/ WORKDIR /app