Skip to content

Commit a690aa3

Browse files
authored
Merge pull request #82 from Dstack-TEE/fix/ingress-python-unbuffered
fix(ingress): enable unbuffered Python output for real-time logging
2 parents a1e8ed7 + 3d32bef commit a690aa3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

custom-domain/dstack-ingress/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ RUN --mount=type=bind,source=scripts,target=/tmp/scripts,ro \
5858

5959
ENV PATH="/scripts:$PATH"
6060
ENV PYTHONPATH="/scripts"
61+
ENV PYTHONUNBUFFERED=1
6162
COPY --chmod=666 .GIT_REV /etc/
6263

6364
ENTRYPOINT ["/scripts/entrypoint.sh"]

0 commit comments

Comments
 (0)