Short post today but I spent sometime converting a Vagrant based development environment over to Docker. One of the most magical features of this is the increased feedback speed. One pattern I found that seems to work really well, is to use:
- A
docker-compose
configuration that mounts the source into the container. - Overriding the
command
that is run to watch/reload
For example Flask has Debug Mode. Gunicorn has –reload.