ejschwartz commited on
Commit
e70a0a4
·
1 Parent(s): 2cab3d1

Fix buffering

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -25,4 +25,7 @@ WORKDIR $HOME/app
25
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
26
  COPY --chown=ubuntu . $HOME/app
27
 
 
 
 
28
  CMD ["python3", "app.py"]
 
25
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
26
  COPY --chown=ubuntu . $HOME/app
27
 
28
+ # Disable buffering to allow logging of standard output.
29
+ ENV PYTHONUNBUFFERED=1
30
+
31
  CMD ["python3", "app.py"]