Spaces:
Sleeping
Sleeping
Commit
·
1e93703
1
Parent(s):
5bf0310
Python unbuffering
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -29,4 +29,7 @@ WORKDIR $HOME/app
|
|
| 29 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 30 |
COPY --chown=user . $HOME/app
|
| 31 |
|
|
|
|
|
|
|
|
|
|
| 32 |
CMD ["python", "main.py"]
|
|
|
|
| 29 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 30 |
COPY --chown=user . $HOME/app
|
| 31 |
|
| 32 |
+
# Don't buffer python output
|
| 33 |
+
ENV PYTHONUNBUFFERED=1
|
| 34 |
+
|
| 35 |
CMD ["python", "main.py"]
|