Spaces:
Sleeping
Sleeping
Commit
·
f9b6e20
1
Parent(s):
feeebdc
disable buffering
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -27,4 +27,7 @@ WORKDIR $HOME/app
|
|
27 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
28 |
COPY --chown=user . $HOME/app
|
29 |
|
|
|
|
|
|
|
30 |
CMD ["python", "main.py"]
|
|
|
27 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
28 |
COPY --chown=user . $HOME/app
|
29 |
|
30 |
+
# Disable buffering to allow logging of standard output.
|
31 |
+
ENV PYTHONUNBUFFERED=1
|
32 |
+
|
33 |
CMD ["python", "main.py"]
|