Hello world Python Flask application Dockerized
Clone or download
Pull request Compare This branch is 1 commit ahead of shekhargulati:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
README.md
app.py
requirements.txt

README.md

Simple Python Flask Dockerized Application#

Build the image using the following command

$ docker build -t simple-flask-app:latest .

Run the Docker container using the command shown below.

$ docker run -d -p 5000:5000 simple-flask-app

The application will be accessible at http:127.0.0.1:5000 or if you are using boot2docker then first find ip address using $ boot2docker ip and the use the ip http://<host_ip>:5000