Public | Automated Build

Last pushed: 2 years ago
Short Description
Dockerized Node.js 4.x LTS
Full Description

nodejs

Dockerized Node.js 4.x LTS

Usage

Create a Dockerfile and write e.g.:

FROM tangpei506/nodejs

# if your_app_port !=8000 then should EXPOSE
EXPOSE your_app_port

then add "start": "node <your_app_entrypoint.js>" to package.json like this:

{
  "name": "your_app_name",
  "private": true,
  "main": "index.js",
  "dependencies": {
    "your_deps"
  },
  "devDependencies": {
    "your_dev_deps"
  },
  "scripts": {
    "start": "node index.js"
  }
}
Docker Pull Command
Owner
tangpei506
Source Repository