Sample Docker container for a Python 3 Flask based application with minimal footprint.
Based on "standard" Python 3 Docker image making use of Alpine Linux, see https://hub.docker.com/_/python/
Generate docker image:
make build
Spin up a container based on this docker image:
make run
Now you should be able to open http://0.0.0.0:80 and see the demo Flask app returning a friendly Hello page.
If you use docker machine (on Mac OS X or Windows)
please consult the docker inspect result to get the IP of the host machine
(see make inspect
).