Minimal docker image/compose for nginx webserver
This is a Minimal docker image/compose for nginx webserver for your static web pages. It's less than 7 MB in total.
Clone the repository. Copy your static website into www folder
cd image
docker build -t smallserver .
docker run -v /path/to/your/static/www/:/www-data/ -p 8080:80 smallserver
docker-compose build
docker-compose up -d