Super Lightweight Nginx Image for static files (Auto-updating fork)
3.5K
This image can only be used for static file serving but has with 4 MB size less than 1/10 the size of the official nginx image. The bare running container needs ~2 MB RAM.
This command exposes an nginx server on port 8080 which serves the folder /absolute/path/to/serve from the host:
docker run -v /absolute/path/to/serve:/static -p 8080:80 tennox/nginx-static
More docs upstream
Content type
Image
Digest
sha256:07a669b20…
Size
4.8 MB
Last updated
about 1 year ago
docker pull tennox/nginx-static