Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 589 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 589 Bytes

Compact Nginx container ( 11.5MB / 8MB compressed )

Stack

Build from source of Nginx running on top of lightweight Alphine Linux.

Usage

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