Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Dockerized Python Flask Example application

License

NotificationsYou must be signed in to change notification settings

codefresh-contrib/python-flask-sample-app

Repository files navigation

Flask plus Codefresh

Original source code fromhttps://github.com/pallets/flask/tree/master/examples/tutorial

Docker instructions

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

To use this project in Codefresh

There is also acodefresh.yml for easy usage with theCodefresh CI/CD platform.

More details can be found inCodefresh documentation

#Edit 3

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp