Skip to content

bountin/docker-base-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-base-node

Base image for Mantigma's node projects.

Usage

For a simple node application that follows the standard pattern the following Dockerfile is sufficient:

FROM mantigma/base-node:7

The expected structure is a package.json specifying the dependencies and a working npm run configuration to start the application.

The base image's ONBUILD will handle the heavy lifting.

Customizing

Further start time configuration can be done via a application specific entry point script. It is expected to be at /entrypoint-app.sh.

Building

For the build process rocker is required.

# A single node version
rocker build -var NodeVersion=0.12

# All supported versions
./generate.sh

About

Base Image for Node.js Projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages