diff --git a/Dockerfile b/Dockerfile index 56e8c9b..10ba0fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,5 +10,9 @@ RUN pip3 uninstall -y buildozer # See https://github.com/sudo-project/sudo/issues/42 RUN echo "Set disable_coredump false" | sudo tee -a /etc/sudo.conf > /dev/null +# By default Python buffers output and you see prints after execution +# Set env variable to disable this behavior +ENV PYTHONUNBUFFERED=1 + COPY entrypoint.py /action/entrypoint.py ENTRYPOINT ["/action/entrypoint.py"]