From d0afc248e791f15cc16b55571e0e8aebeea60c8e Mon Sep 17 00:00:00 2001 From: DIvan2000 Date: Thu, 14 Aug 2025 03:49:06 +0400 Subject: [PATCH] Set Python output to unbuffered for proper Docker Compose logging --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 45f6cad..9540612 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,4 @@ RUN pip install --no-cache-dir -r requirements.txt COPY . . RUN chmod +x /app/entrypoint.sh ENTRYPOINT ["/app/entrypoint.sh"] -CMD ["python", "main.py"] \ No newline at end of file +CMD ["python", "-u", "main.py"] \ No newline at end of file