Compact Nginx container ( 11.5MB / 8MB compressed )
Build from source of Nginx running on top of lightweight Alphine Linux.
docker run --rm -it --log-driver none \
-p 8080:8080 \
-p 443:443 \
-v $(pwd)/example/nginx.crt:/etc/nginx/ssl/nginx.crt \
-v $(pwd)/example/nginx.key:/etc/nginx/ssl/nginx.key \
-v $(pwd)/example/dhparam.pem:/etc/nginx/ssl/dhparam.pem \
-v $(pwd)/example/nginx.conf:/etc/nginx/nginx.conf \
-v $(pwd)/example/index.html:/var/www/index.html \
jancajthaml/nginx:latest nginx