Skip to content

Commit

Permalink
FIX: add -u to have unbuffered python logs, not the best but at least…
Browse files Browse the repository at this point in the history
… sdout and stderr work with docker logs
  • Loading branch information
edux committed Jul 17, 2024
1 parent 0ea42aa commit 1e1dfd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN pip install -r requirements.txt
# Bundle app source
COPY . /app

CMD [ "python", "main.py" ]
CMD [ "python","-u","main.py" ]

0 comments on commit 1e1dfd0

Please sign in to comment.