Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 693 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 693 Bytes

Nodejs + npm docker builder image

Usage

Nodejs builder image. To be used when you need to build some nodejs project.

Image includes nodejs-0.12.2 and npm. Assuming that all other dependencies are explicitly specified through package.json, bower.json, anyother.json.

docker run --rm \
  -v `pwd`:/data \
  -v $HOME/.node-cache:/cache \
  leanlabs/npm-builder npm install
docker run --rm \
  -v `pwd`:/data \
  -v $HOME/.node-cache:/cache \
  leanlabs/npm-builder bower install --allow-root