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 4 years ago
parent 7990d787fc
commit f88f17bb65

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