Skip to content

arska/flask-helloworld

Repository files navigation

Python Flask Hello World

CI to Docker Hub

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

oc new-app python:3.9~https://github.com/arska/flask-helloworld.git; oc expose service flask-helloworld
  • CLI using Dockerfile
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/