goserve is a dead simple HTTP server whose sole purpose is to serve static content from a container.
2.2K
This is a snapshot of https://keep.imfreedom.org/grim/goserve/file/tip/README.md
goserve is a dead simple HTTP server whose sole purpose is to serve static content from a container.
This was built because I was tired of introducing nginx or another web server into what would be a tiny container only containing the static files themselves.
If you're building this yourself, it is recommended to build it statically and strip the resulting binary with the following command.
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static" -s' .
goserve is configurable via environment variables
Content type
Image
Digest
Size
1.8 MB
Last updated
over 5 years ago
docker pull rwgrim/goserve