Browse Source

use unbuffered output

this prints stdout directly instead of buffering it. otherwise docker logs is useless because its not realtime
tags/v0.2.1
lub 4 months ago
parent
commit
f88f17bb65
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Dockerfile

+ 1
- 1
Dockerfile View File

@@ -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