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
- Host: GitHub
- URL: https://github.com/alfredfrancis/minimal-nginx-web-server-docker
- Owner: alfredfrancis
- Created: 2017-03-24T09:44:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-24T09:54:34.000Z (almost 9 years ago)
- Last Synced: 2025-05-06T22:12:12.180Z (8 months ago)
- Topics: docker, minimal, nginx, webserver
- Language: Nginx
- Size: 1.95 KB
- Stars: 14
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```