This is a simple HTTP server written in Go that responds with a configurable message. The message and port can be set using environment variables.
- Build the Docker image:
docker build -t http-hello .
- Run the Docker container:
docker run --rm -p 8080:8080 -e HTTP_HELLO_MSG="I will not write another 'Hello, World!' program." http-hello