nikos / python3-alpine-flask-docker

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:Apache License 2.0


Languages

Language:Makefile 69.1%Language:Python 30.9%