use unbuffered output

this prints stdout directly instead of buffering it. otherwise docker logs is useless because its not realtime
master v0.2.1
lub 2 years ago
parent 7990d787fc
commit f88f17bb65
  1. 2
      Dockerfile

@ -14,4 +14,4 @@ RUN pip install -r requirements.txt
COPY scrape.py ./
USER nobody:nogroup
CMD [ "python", "scrape.py" ]
CMD [ "python", "-u", "scrape.py" ]
Loading…
Cancel
Save