Multi-stage dockerfile example for simple flask app Build docker build -f multi-stage-build.Dockerfile -t multi-stage-docker-flask . Run docker run -p 5000:5000 multi-stage-docker-flask Test sander@pc:~ $ curl localhost:5000 Hello World!