Dockerfile for a minimal installation of NGINX on Ubuntu
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
Dockerfile
LICENSE
README.md

README.md

mcskinner/nginx

This repository contains a Dockerfile for a minimal installation of the NGINX HTTP server.

For more detail on how this works, visit blog.mcskinner.com.

Base Docker Image

Usage

# Serve the NGINX boilerplate content.
docker run -d -p 80:80 mcskinner/nginx

# Serve your own site.
docker run -d -p 80:80 \
  -v $(pwd)/example/sites-enabled:/etc/nginx/sites-enabled \
  -v $(pwd)/example/html:/var/www/html \
  mcskinner/nginx