Skip to content

waxiamyer/containerized-hello-world-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Dockerized Python Flask app on top of Openshift 4

Create a very simple hello world Python app with Flask framework, containerized it, and deploy it into Openshift 4.

Build and Push to Docker Hub from Openshift 4

$ oc new-build --strategy docker --binary --name=containerized-hello-world-python 

$ oc start-build containerized-hello-world-python  --from-dir=. --follow --wait

Deploy to OpenShift 4

$ oc new-app containerized-hello-world-python  --name=containerized-hello-world-python 

Expose a Secure URL for this Flask app

$ oc create route edge --service=containerized-hello-world-python 

About

deploying a containerized python app, with Flask framework and Dockerfile into Openshift 4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dockerfile 42.7%
  • Python 36.1%
  • HTML 21.2%