httpd.sh¶
The Dockerfile
will copy the httpd.sh
file to your Docker image.
Move that file from shellhttpd.disabled
to the shellhttpd
folder:
Check the content of your httpd.sh
:
httpd.sh:
This is a shell script file that will respond to a request on the port defined by the
PORT environment variable (defaults to 8080
) with the message defined by the MSG
environment variable (defaults to OK
).