- Alpine Nginx
A React/Vite Dockerfile that compiles a minimal Nginx from source on Alpine with pre-compressed assets and security headers, plus a comparison and the full Dockerfiles of all five React approaches.
- Distroless Nginx
A React/Vite Dockerfile that compiles a fully static, UPX-compressed Nginx and ships it in a FROM scratch image under 6MB with gzip and Brotli assets.
- Scratch Nginx
A React/Vite Dockerfile that builds a minimal dynamically linked Nginx, copies only its shared libraries into a scratch image, and uses a static C healthcheck binary.