/hello-world

Flask Hello World

Primary LanguagePython

Test it

docker build -t workshop/hello-world .

Run it

docker run -it --name python-hello-world -d -p81:81 workshop/hello-world

Check logs

docker logs python-hello-world

Test it

curl -X GET localhost:81
curl -X POST localhost:81
curl localhost:81/home

Kill it

docker stop python-hello-world && docker rm python-hello-world