-
-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 Added PYTHONUNBUFFERED=1 and PYTHONDONTWRITEBYTECODE=1
Added PYTHONUNBUFFERED=1 to unbuffer python logs and PYTHONDONTWRITEBYTECODE=1 to avoid create .pyc files
- Loading branch information
1 parent
0571c90
commit aac8428
Showing
5 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ FROM python:3.10-bullseye | |
|
||
LABEL maintainer="Sebastian Ramirez <[email protected]>" | ||
|
||
ENV PYTHONDONTWRITEBYTECODE=1 | ||
ENV PYTHONUNBUFFERED=1 | ||
|
||
COPY install-nginx-debian.sh / | ||
|
||
RUN bash /install-nginx-debian.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ FROM python:3.11-bullseye | |
|
||
LABEL maintainer="Sebastian Ramirez <[email protected]>" | ||
|
||
ENV PYTHONDONTWRITEBYTECODE=1 | ||
ENV PYTHONUNBUFFERED=1 | ||
|
||
COPY install-nginx-debian.sh / | ||
|
||
RUN bash /install-nginx-debian.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ FROM python:3.7-bullseye | |
|
||
LABEL maintainer="Sebastian Ramirez <[email protected]>" | ||
|
||
ENV PYTHONDONTWRITEBYTECODE=1 | ||
ENV PYTHONUNBUFFERED=1 | ||
|
||
COPY install-nginx-debian.sh / | ||
|
||
RUN bash /install-nginx-debian.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ FROM python:3.8-bullseye | |
|
||
LABEL maintainer="Sebastian Ramirez <[email protected]>" | ||
|
||
ENV PYTHONDONTWRITEBYTECODE=1 | ||
ENV PYTHONUNBUFFERED=1 | ||
|
||
COPY install-nginx-debian.sh / | ||
|
||
RUN bash /install-nginx-debian.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ FROM python:3.9-bullseye | |
|
||
LABEL maintainer="Sebastian Ramirez <[email protected]>" | ||
|
||
ENV PYTHONDONTWRITEBYTECODE=1 | ||
ENV PYTHONUNBUFFERED=1 | ||
|
||
COPY install-nginx-debian.sh / | ||
|
||
RUN bash /install-nginx-debian.sh | ||
|