Public | Automated Build

Last pushed: 23 days ago
Short Description
Node.js w/ NPm and Bower & Grunt for automated builds
Full Description

docker-node-npm-bower-gulp

Node.js w/ NPM, Bower and Grunt for automated builds and deployments where you want to fix the node version. Node V6 broke our automated builds and so we needed this repo.

Using this image at Voxpopme to ensure we have consistent builds of our angular apps.

Inspired by DigitallySeamless/docker-nodejs-bower-grunt

Usage

Your project directory should be mapped to the /data directory:

docker run -it --rm -v ${PWD}:/data jujhars13/docker-node-npm-bower-gulp <cmd>

Run node

docker run -ti --rm -v ${PWD}:/data jujhars13/docker-node-npm-bower-gulp node

Run npm install

docker run --rm -v ${PWD}:/data jujhars13/docker-node-npm-bower-gulp npm install

Run bower install

docker run --rm -v ${PWD}:/data jujhars13/docker-node-npm-bower-gulp bower install

Run gulp build

NB the DISABLE_NOTIFIER=true env var that's passed in as gulp-notify doesn't play well if the terminal is not attached @see

    docker run \
    --rm -v ${PWD}:/data \
    -e DISABLE_NOTIFIER=true \
    jujhars13/docker-node-npm-bower-gulp \
    gulp build

Supported Tags

Relating to the major nodejs version.

Usage

So if you want to use Node V4

docker run --rm -v ${PWD}:/data jujhars13/docker-node-npm-bower-gulp:4 bower install
Docker Pull Command
Owner
jujhars13

Comments (0)