An open API service indexing awesome lists of open source software.

https://github.com/alfredfrancis/minimal-nginx-web-server-docker

Minimal docker image/compose for nginx webserver
https://github.com/alfredfrancis/minimal-nginx-web-server-docker

docker minimal nginx webserver

Last synced: 8 months ago
JSON representation

Minimal docker image/compose for nginx webserver

Awesome Lists containing this project

README

          

# Docker Small Web Server < 7 MB
This is a Minimal docker image/compose for nginx webserver for your static web pages. It's less than 7 MB in total.

## USAGE
Clone the repository. Copy your static website into www folder
### Docker
```bash
cd image
docker build -t smallserver .
docker run -v /path/to/your/static/www/:/www-data/ -p 8080:80 smallserver
```
### Docker Compose
```bash
docker-compose build
docker-compose up -d
```