Sign inSign up

arska/flask-helloworld

By arska

•Updated 29 days ago

Image
0

10K+

arska/flask-helloworld repository overview

⁠Python Flask Hello World

Build Status

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.6~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/⁠

Tag summary

Content type

Image

Digest

sha256:28520b69d…

Size

22.1 MB

Last updated

29 days ago

docker pull arska/flask-helloworld