ryanj/centos7-nodejs

By ryanj

Updated over 8 years ago

STOP RUNNING YOUR CONTAINERS AS ROOT!! Use this ONBUILD container with binaries from Nodejs.org

Artifact
Image

6.5K

!!STOP RUNNING YOUR CONTAINERS AS ROOT!!

To use this ONBUILD image, your application will need to listen on 8080 when initialized via npm start

Add the following Dockerfile (with your own MAINTAINER info) to the root of your application source:

FROM ryanj/centos7-nodejs:current
MAINTAINER yourname <you@yourdomain.com>

Available Node.JS releases are listed as tags on this repo:

  • 6.3.1, 6, current
  • 5.12.0, 5
  • 4.4.7, 4, lts
  • 0.12.15, 0.12
  • 0.10.46, 0.10

WARNING: Root context is provided during the docker build process. If you don't think root context is needed for your "web builds" (a.k.a. your server's npm install process), use ryanj/centos7-s2i-nodejs

Build notes and sources are available on GitHub at ryanj/origin-s2i-nodejs

Docker Pull Command

docker pull ryanj/centos7-nodejs