Sign inSign up

adriagalin/nodejs-bower-grunt

By adriagalin

•Updated over 10 years ago

Node.js & Grunt & Bower docker image for JavaScript-based development.

Image
0

701

adriagalin/nodejs-bower-grunt repository overview

⁠NodeJS - Grunt - Bower image

Node.js & Grunt & Bower docker image for JavaScript-based development.

This container allows you to run most Grunt and Bower commands without having to install them on the host system.

Docker build

⁠Usage

To run a Docker container

docker run -it --rm -v `pwd`:/data adriagalin/nodejs-bower-grunt
⁠Run node
docker run -it --rm -v `pwd`:/data adriagalin/nodejs-bower-grunt node
⁠Run npm
docker run -it --rm -v `pwd`:/data adriagalin/nodejs-bower-grunt npm
⁠Run bower
docker run -it --rm -v `pwd`:/data adriagalin/nodejs-bower-grunt bower
⁠Run grunt
docker run -it --rm -v `pwd`:/data adriagalin/nodejs-bower-grunt grunt

you could optionally pass -u option and other docker options:

docker run -it --rm -u $UID -v `pwd`:/data adriagalin/nodejs-bower-grunt grunt

Or create your own deployable docker container:

FROM adriagalin/nodejs-bower-grunt

ADD MyProgram /MyProgram

ADD run.sh /run.sh

ENTRYPOINT /run.sh

⁠License

This Dockerfile is released under the MIT license, which should have accompanied the Dockerfile. Files and binaries contained inside the image may contain other Licenses.

⁠Author information

Adrià Galín⁠

⁠Inspiration

During development, some roles in Ansible Galaxy/Github also inspired me:

thank you.

Tag summary

Content type

Image

Digest

Size

250.3 MB

Last updated

over 10 years ago

docker pull adriagalin/nodejs-bower-grunt