Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 433 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 433 Bytes

Node + Grunt + JSPM Docker Image

Usage

Build the image

cd marcv-node
docker build -t marcv/node .

Run a Grunt task

docker run --rm -v /srv/www/blabla:/project marcv/node grunt --gruntfile=/project/nodejs/Gruntfile.js taskname

Run a command as a specific user (and group, optionally)

docker run --rm -v `pwd`:/project -e USERID=1000 -e GROUPID=1000 marcv/node npm install