All Projects → RisingStack → docker-node

RisingStack / docker-node

Licence: other
Dockerfiles for running Node.js

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

RisingStack Docker Images

In this repo you can find different Linux distributions with Node.js.

Tags

The tags has the following format: X-Y-Z, where:

  • X stands for the version of the OS of the base image
  • Y stands for the Node.js version included in the image
  • Z stands for general semantic version of this repository

For first it may seem strange / too complex, but with this you can be sure that you are using immutable Docker images, as we will never overwrite existing tags.

You can find all the images and tags on the RisingStack Docker Hub.

Usage

FROM risingstack/alpine:3.3-v4.3.1-3.0.1

COPY package.json package.json
RUN npm install

# Add your source files
COPY . .
CMD ["npm","start"]

The images come with the NODE_ENV environment variable set to production.

Alpine-based images

Alpine linux

  • Node.js v4.8.4: docker pull risingstack/alpine:3.4-v4.8.4-4.6.0
  • Node.js v8.6.0: docker pull risingstack/alpine:3.4-v8.6.0-4.7.0
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].