docker: Execute update.py with unbuffered output

This allows to have real time logging while building the database.

Signed-off-by: Maxime Chretien (MixLeNain) <mchretien@linuxmail.org>
This commit is contained in:
Maxime Chretien (MixLeNain) 2020-10-24 12:10:44 +02:00
parent aa969fe374
commit db45f2f9de
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ ENV LXR_DATA_DIR /srv/elixir-data/$PROJECT/data
RUN \
cd /usr/local/elixir/ && \
./script.sh list-tags && \
./update.py
python3 -u ./update.py
# apache elixir config, see elixir README
# apache HttpProtolOptions workaround

View file

@ -57,7 +57,7 @@ ENV LXR_DATA_DIR /srv/elixir-data/$PROJECT/data
RUN \
cd /usr/local/elixir/ && \
./script.sh list-tags && \
./update.py
python3 -u ./update.py
# apache elixir config, see elixir README
# make apache less stricter about cgitb spam headers