Serve static pages with nginx via docker
static-nginx $ docker build -t static-nginx .$ docker run -d -p 8000:80 -v $(pwd)/src:/www --name static static-nginx- Use any port you wish, in this example I used a
8000. - Mount you static files from
./srcdirectory to/wwwdirectory into the container
$ docker exec -it static tail -f /etc/nginx/logs/static.log