A docker image for learning and testing with web apps and environment variables.
bithavoc/hello-world-env
docker run --publish=3000:3000 --rm bithavoc/hello-world-env
GET http://localhost:3000/this
Prints
Hi there, I love this!
docker run --publish=3000:3000 --rm bithavoc/hello-world-env /root/app -message "cool by arg"
docker run --publish=3000:3000 --rm -e "MESSAGE=cool by env" bithavoc/hello-world-env
GET http://localhost:3000/this
Prints
Hi there, I love this! cool