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 imageY
stands for the Node.js version included in the imageZ
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
- 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