Sign inSign up

tennox/nginx-static

By tennox

•Updated 12 days ago

Super Lightweight Nginx Image for static files (Auto-updating fork)

Image
1

3.5K

tennox/nginx-static repository overview

size last commit upstream github auto-updating fork

⁠Super Lightweight Nginx Image for static files

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.

⁠Auto-updating fork⁠ of flashspys/docker-nginx-static⁠

  • rebuilt every week via GitLab CI Schedule
  • renovate bot that updates alpine image tag
  • (no auto-update of nginx - yet)

⁠TL;DR Readme

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⁠

Tag summary

Content type

Image

Digest

sha256:07a669b20…

Size

4.8 MB

Last updated

about 1 year ago

docker pull tennox/nginx-static