This is a trivial HTTP-server, which can serve static-files.
You'd probably prefer to look at my toolbox which contains a httpd
server:
To install this from source please run:
$ go get github.com/skx/httpd
There is a Dockerfile included within the repository, you can build the image via:
$ docker build -t skx/httpd .
To launch it run:
$ docker run -d -p3000:3000 skx/httpd
You can serve a local directory by bind-mounting your root directory to /docs
,
like so:
$ docker run -d -v /var/www/html:/docs -p3000:3000 skx/httpd
Commits to this repository will become live, when pushed.