This is a very lightweight demo web application serving "Hello World" on TCP port 8080
I use it to demo application deployment to OpenShift on https://appuio.ch
Web-GUI: "Add to project" -> search for "Python" -> Choose "Python" -> Next -> Version: 3.5, Name: flask-helloworld, Git Repository: https://github.com/arska/flask-helloworld.git -> Create -> Close
CLI using source-to-image (s2i)
oc new-app python:3.6~https://github.com/arska/flask-helloworld.git; oc expose service flask-helloworld
oc new-app --strategy=docker https://github.com/arska/flask-helloworld.git; oc expose service flask-helloworld
You can clean up after with:
oc delete all -l app=flask-helloworld
You can also build and run this locally using docker
docker build -t flask-helloworld .
docker run -p 8080:8080 flask-helloworld
the application is then accessible at http://127.0.0.1:8080/
Content type
Image
Digest
sha256:28520b69d…
Size
22.1 MB
Last updated
29 days ago
docker pull arska/flask-helloworld