79591788

Date: 2025-04-25 04:16:25
Score: 1
Natty:
Report link

i was playing with docker until i found why it is not showing the logs

The problem was here:

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

You should include "-u" flag it means run this in unbuffered mode, so your line would be like this:

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

Try to rebuild docker and see if it works.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fahd Bahri