Public | Automated Build

Last pushed: a month ago
Short Description
Nginx with autoindex
Full Description

docker-nginx-autoindex

Dockerfile for Nginx with autoindex

Docker image

Pull the image from Docker Hub

$ docker pull dceoy/nginx-autoindex

Usage

Run a web server to serve the current directory at / of Nginx

$ docker container run --rm -p 80:80 -v ${PWD}:/var/www/html:ro dceoy/nginx-autoindex

Run a web server with docker-compose

$ docker-compose -f /path/to/docker-nginx-autoindex/docker-compose.yml up
Docker Pull Command
Owner
dceoy
Source Repository