Skip to content

nikos/python3-alpine-flask-docker

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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