Skip to content

Dockerfile for a minimal installation of NGINX on Ubuntu

License

Notifications You must be signed in to change notification settings

mcskinner/docker-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Dockerfile for a minimal installation of NGINX on Ubuntu

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages