Skip to content

Commit

Permalink
Dockerfile: set PYTHONUNBUFFERED=1 by default
Browse files Browse the repository at this point in the history
This changes the stdout/stderr buffering behavior of Python. Without it,
indexing scripts don't stream updates and use really big buffers.

Signed-off-by: Théo Lebrun <[email protected]>
  • Loading branch information
tleb committed Dec 21, 2024
1 parent e693aba commit 13fa255
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ ENV ELIXIR_VERSION=$ELIXIR_VERSION

ENV ELIXIR_ROOT=/srv/elixir-data
ENV PATH="/usr/local/elixir/venv/bin:$PATH"
ENV PYTHONUNBUFFERED=1

ENTRYPOINT ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]

0 comments on commit 13fa255

Please sign in to comment.