Sign inSign up

ayeks/minimal-flask

By ayeks

•Updated about 5 years ago

Minimal flask app that can be run inside a container for testing CICD pipelines.

Image
0

10K+

ayeks/minimal-flask repository overview

⁠minimal-flask

Minimal flask app that can be used to test cicd pipelines.

⁠Build and run

Checkout the Makefile⁠ for how to run this this.

⁠Build and run locally

Create virtualenv: python -m virtualenv .venv

Source the venv and install the requirements with: make install-local

Run flask app locally: make run-local or flask run

⁠Build and run a container

Build the container with make build-docker or docker build -t flask

Run the container with make run-docker or docker run -it --rm -p 5000:5000 flask

Access the site at port http://localhost:5000⁠.

Tag summary

Content type

Image

Digest

Size

45.6 MB

Last updated

about 5 years ago

docker pull ayeks/minimal-flask