srecnig / flask-docker-hello-world

containerized hello world flask app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flask-docker-hello-world

This is a dockerized flask hello-world. The only thing it does it to install Flask and implements a few hello-world like things. You can run and build this locally like this:

# build
docker build -t flask-hello-world:latest .

# run
docker run -d -p 5000:5000 flask-hello-world

# verify
curl localhost:5000

It's also pushed to hub.docker.com, and you can try it out by installing it from there:

# run
docker run -p 5000:5000 srecnig/flask-hello-world:0.1.0

# verify
curl localhost:5000

About

containerized hello world flask app

License:Apache License 2.0


Languages

Language:Python 57.1%Language:Dockerfile 42.9%