I want to do some simple logging for my server which is a small Flask app running in a Docker container.
Here is the Dockerfile
# Dockerfile FROM dre
Just a complement, when using docker-compose, you could also try:
command: bash -c "script_or_command > /path/to/log/command.log 2>&1"