From 33c6032329ab4ab7d8787432666e808bdac0cbe1 Mon Sep 17 00:00:00 2001 From: user Date: Sun, 15 Feb 2026 19:25:21 +0100 Subject: [PATCH] fix: enable unbuffered Python output in container Without PYTHONUNBUFFERED=1, Python buffers stdout causing podman logs to show no output. Co-Authored-By: Claude Opus 4.6 --- Containerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Containerfile b/Containerfile index b72b981..b1827e0 100644 --- a/Containerfile +++ b/Containerfile @@ -5,4 +5,5 @@ WORKDIR /app RUN pip install --no-cache-dir maxminddb>=2.0 PySocks>=1.7.1 ENV PYTHONPATH=/app/src +ENV PYTHONUNBUFFERED=1 ENTRYPOINT ["python", "-m", "derp"]