- Notifications
You must be signed in to change notification settings - Fork801
Dockerized Python Flask Example application
License
NotificationsYou must be signed in to change notification settings
codefresh-contrib/python-flask-sample-app
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Original source code fromhttps://github.com/pallets/flask/tree/master/examples/tutorial
To create a docker image execute:
docker build . -t flaskr
To run the docker image execute:
docker run -p 5000:5000 flaskr and visit with your browserhttp://localhost:5000
To run unit tests inside the container execute:
docker run -it flaskr /bin/sh
and then in the new command promt run
pip install pytest && pytest
There is also acodefresh.yml for easy usage with theCodefresh CI/CD platform.
More details can be found inCodefresh documentation
#Edit 3
About
Dockerized Python Flask Example application
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
