notes/python.md
2021-08-20 13:21:38 +01:00

346 B
Executable File

author, date, title, tags
author date title tags
Alvie Rahman \today Python
docker
python
programming
io

Issues

No log output when running in docker

Change line beginning with CMD from:

CMD [ "python", "app.py" ]

to:

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

This disabled output buffering (stdout and stderr).