I have a Python (2.7) app which is started in my dockerfile:
CMD [\"python\",\"main.py\"]
main.py prints some strings when it is s
If you want to add your print output to your Flask output when running docker-compose up, add the following to your docker compose file.
docker-compose up
web: environment: - PYTHONUNBUFFERED=1
https://docs.docker.com/compose/environment-variables/