set python unbuffered to get logging output on runtime

This commit is contained in:
Stefan Regnery 2023-09-19 21:23:04 +00:00
parent cb8f288f39
commit 9ed29ee9c4

View File

@ -8,4 +8,4 @@ USER python
COPY *.py requirements.txt /
RUN pip --disable-pip-version-check install -r requirements.txt
ENTRYPOINT ["python", "run.py"]
ENTRYPOINT ["python", "-u", "run.py"]