/docker-alpine-python3-flask

A template Docker project with alpine image and python3 and flask

Primary LanguageMakefile

docker-alpine-python3-flask Build Status

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/

Build Docker image

Generate docker image:

make build

Run Docker container

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).