Shell Script¶
The Dockerfile
instructs Docker to copy the shell script httpd.sh
to the Docker image.
Move that file from shellhttpd.disabled
to the shellhttpd
folder:
Check the content of httpd.sh
:
httpd.sh:
This script responds to a request on the port defined by PORT``(defaults to ``8080
) with the message defined by MSG``(defaults to ``OK
).