Skip to content

Sample Docker container for a Python 3 Flask based application with minimal footprint.

License

Notifications You must be signed in to change notification settings

nikos/python3-alpine-flask-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python3-alpine-flask-docker Build Status Image Info

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

About

Sample Docker container for a Python 3 Flask based application with minimal footprint.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published