From 034c71abbbb87ae866f82ae3f927e9308e564b81 Mon Sep 17 00:00:00 2001 From: muskit <15199219+muskit@users.noreply.github.com> Date: Fri, 26 Apr 2024 00:13:24 -0700 Subject: [PATCH] use unbuffered stdout to fix docker logging --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9fe64a5..441b13b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,4 +21,4 @@ COPY . . VOLUME ./run # Run the bot -CMD ["python3", "src/main.py"] +CMD ["python3", "-u", "src/main.py"]