This is a very basic Python + Flask application that simply respons "Hello, World" to HTTP requests. It is packaged in a Docker container and exposes port 5000.
Use it for testing or as a starting point for something nice.
- run
initdevenv.shto install requirements (Flask only, seerequirements.txt) - run
build.shto create and run the docker container
After running and testing with build.sh, run the following in your terminal:
docker login
docker tag flask-hello-world yourusername/flask-hello-world:latest
docker push yourusername/flask-hello-world:latest
- Replace yourusername and the tag latest as necessary, ask ChatGPT or do some Googling.
- The image is already available on Docker Hub as
chrfrenning/flask-hello-world:latest