/nginx-static

Nginx server on docker for static file hosting.

Primary LanguageDockerfile

Static Web Server by nginx (Docker)

How to use

# build
$ docker build -t static-nginx .

# run
$ docker run -p 3000:80 -v $(pwd)/public:/root/public static-nginx
$ open http://localhost:3000/