A node docker image.
Create a Dockerfile in the root of application directory:
FROM seegno/node:<tag>
Then simply run:
$ docker build -t node
$ docker run --rm -it node
All of the images are based on node:alpine.
The seegno/node image comes in multiple flavors. Only the major version is tracked as there is a linked dependency to node:alpine on Docker Hub.
All images come with a yarn variant (e.g. seegno/node:<version>-yarn, seegno/node:<version>-onbuild).
seegno/node:latestTag that points to the latest node version available as part of seegno/node:<version>-onbuild.
seegno/node:<version>Targets a specific version branch of node (e.g. 7) and is an alias for the onbuild variant.
seegno/node:<version>-slimTargets a specific version branch of node (e.g. 7) using a slim profile:
/home/node to the node user;package.json and npm-shrinkwrap.json to the working directory if they exist.seegno/node:<version>-onbuildTargets a specific version branch of node (e.g. 7) using an onbuild profile:
/home/node to the node user;package.json and npm-shrinkwrap.json to the working directory if they exist;seegno/node:<version>-testTargets a specific version branch of node (e.g. 7) using a test profile:
npm test.This image is officially supported on Docker v1.12.1, with support for older versions provided on a best-effort basis.
License information for the seegno/node docker project.
Content type
Image
Digest
Size
83.9 MB
Last updated
over 9 years ago
docker pull seegno/node