From 65192b31f6de685078eec993dbdf95c7b253a635 Mon Sep 17 00:00:00 2001 From: Colin Nelson Date: Tue, 25 Sep 2018 14:12:34 -0700 Subject: [PATCH] emailservice: Updated ENTRYPOINT args to include '-u' for unbuffered logs --- src/emailservice/Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/emailservice/Dockerfile b/src/emailservice/Dockerfile index 55d5a09..bb2721f 100644 --- a/src/emailservice/Dockerfile +++ b/src/emailservice/Dockerfile @@ -27,9 +27,6 @@ RUN GRPC_HEALTH_PROBE_VERSION=v0.1.0-alpha.1 && \ wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 && \ chmod +x /bin/grpc_health_probe -# Show python logs as they occur -ENV PYTHONUNBUFFERED=0 - WORKDIR /email_server # Grab packages from builder @@ -42,4 +39,4 @@ RUN apk add --no-cache libstdc++ COPY . . EXPOSE 8080 -ENTRYPOINT [ "python", "email_server.py" ] \ No newline at end of file +ENTRYPOINT [ "python", "-u", "email_server.py" ] \ No newline at end of file