The main image in this repo creates an environment for angular 2 projects where packages can be arbitrarily installed with npm, using a package-json file.
It also includes nginx to serve static files in a closer to production environment.
There are four image variants in the repo:
nginx-node:4.xThis image:
nginx using its official image.node.js version 4.x.nginx-node:4.x-onbuildThis image expects folders nginx/ and angular/ as well as a package.json file to be located in the same directory as the Dockerfile referencing this image. It:
/usr/src/app in the target container.package.json file using npm.nginx/ to /etc/nginx.angular/ to /usr/src/app.npm run-script deploy: the deploy script is expected to be defined in your package.json.nginx-node:6.xThis image is equivalent to image nginx-node:4.x but for node 6.x.
nginx-node:6.x-onbuildThis image is equivalent to image nginx-node:4.x-onbuild but for node 6.x.
nginx-node:8.xThis image is equivalent to image nginx-node:6.x but for node 8.x.
nginx-node:8.x-onbuildThis image is equivalent to image nginx-node:6.x-onbuild but for node 8.x.
Content type
Image
Digest
Size
143.4 MB
Last updated
about 9 years ago
docker pull luissalgadofreire/nginx-node:8.x