Skip to content

Flask application sample and its docker image definition.

License

Notifications You must be signed in to change notification settings

jeammyb/flask-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-app

Flask application sample and its docker image definition.

Run application locally

Go to the main folder and execute the following command:

python app.py

Run application inside a Docker container

Build Docker image:

make build

Run container:

make run

To download the image and run container:

docker container run -d -p 5000:5000 --name flask jeammyb/flask-app:latest

URL Examples

http://localhost:5000

Or

Format: http://localhost:5000/hello/{name}

http://localhost:5000/hello/jeammy

About

Flask application sample and its docker image definition.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published