Skip to content

Commit 2bc9fe4

Browse files
committed
Document less common Python envt. variables
These are PYTHONUNBUFFERED and PYTHONDONTWRITEBYTECODE Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 623b93d commit 2bc9fe4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ FROM --platform=linux/amd64 python:3.9
2424

2525
WORKDIR /app
2626

27+
# Python settings: Force unbuffered stdout and stderr (i.e. they are flushed to terminal immediately)
2728
ENV PYTHONUNBUFFERED 1
29+
# Python settings: do not write pyc files
2830
ENV PYTHONDONTWRITEBYTECODE 1
2931

3032
# OS requirements as per

0 commit comments

Comments
 (0)