Run python in unbuffered print mode so that docker picks up the output

while the program is running
feature/embed-uploads
Tristan Gosselin-Hane 7 years ago
parent 51779ab551
commit 0141c61846
  1. 4
      Dockerfile

@ -1,5 +1,7 @@
FROM python:3.6.6-stretch
ENV PYTHONUNBUFFERED=0
WORKDIR /app
COPY . /app
@ -10,4 +12,4 @@ RUN pip install --no-cache-dir pipenv \
VOLUME "/data"
CMD [ "python", "-m", "pipenv", "run", "./webhook-bridge.py" ]
CMD [ "python", "-m", "pipenv", "run", "./webhook-bridge.py" ]

Loading…
Cancel
Save