From ebe601b8f58e22dcba436c1c99ab3d984d26cd58 Mon Sep 17 00:00:00 2001 From: Lingxian Kong Date: Mon, 17 Jul 2017 23:47:23 +1200 Subject: [PATCH] Disable python buffer for stdout/stderr Change-Id: I6f4a0aaf192df76d21c72529c92b6419c9f4b08d --- runtimes/python2/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtimes/python2/Dockerfile b/runtimes/python2/Dockerfile index d4386aee..d1ea0b80 100644 --- a/runtimes/python2/Dockerfile +++ b/runtimes/python2/Dockerfile @@ -9,5 +9,5 @@ COPY . /app WORKDIR /app RUN pip install -r requirements.txt -ENTRYPOINT ["python"] +ENTRYPOINT ["python", "-u"] CMD ["server.py"]