Sign inSign up

cvcbrasil/nginx-singlepage

By cvcbrasil

•Updated almost 9 years ago

NGINX ajusted for JS single page

Image
0

363

cvcbrasil/nginx-singlepage repository overview

For use this image, we will use in Dockerfile of exemple down.

tag log: if you will need logs from access_log and error_log https://github.com/cvcbrasil/Dockerfiles/tree/master/nginx-singlepage-log⁠

tag nolog: don't have NGINX logs - we use for production https://github.com/cvcbrasil/Dockerfiles/tree/master/nginx-singlepage-nolog⁠

Dockerfile FROM cvcbrasil/nginx-singlepage:nolog COPY html /var/www/html

Building and run

$ mkdir html
$ cp -r /yourindexandjs/* html
$ docker build -t yourapplication .
$ docker run -it --name yourapplication -p 80:80 yourapplication

Tag summary

Content type

Image

Digest

Size

2.5 MB

Last updated

almost 9 years ago

docker pull cvcbrasil/nginx-singlepage:nolog