Public | Automated Build

Last pushed: 2 years ago
Short Description
Dockerfile for Nginx.
Full Description

Dockerfile for Nginx.

Usage

docker run -d -p 80:80 dockerfile/nginx

Attach persistent/shared directories

docker run -d -p 80:80 -v <sites-enabled-dir>:/etc/nginx/sites-enabled -v <certs-dir>:/etc/nginx/certs -v <log-dir>:/var/log/nginx dockerfile/nginx

After few seconds, open http://<host> to see the welcome page.

Docker Pull Command
Owner
ottoops
Source Repository