This is a repo which provides a docker image which runs a bash-based webserver.
Because Go makes it too easy. Because Code As Art. Because I can.
Don't run this in production. Or test. Or dev.
Don't.
But if you really, really wanted to:
- Build and push the docker image
- Mount your file dir in
/var/www
on the docker image - Run the image, exposing port 80
- Browse your new website
The Makefile provides commands:
- The
test
just checks that we can hit the webserver multiple times. - The
run
will keep the webserver running.