NGINX ajusted for JS single page
363
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
Content type
Image
Digest
Size
2.5 MB
Last updated
almost 9 years ago
docker pull cvcbrasil/nginx-singlepage:nolog