Public | Automated Build

Last pushed: 18 hours ago
Short Description
Node.js w/ Bower & Grunt Dockerfile for trusted automated Docker builds.
Full Description

Node.js w/ Bower & Grunt

This repository contains a Dockerfile of Node.js w/ Bower & Grunt for automated builds published to the public Docker Hub Registry.

Base Docker Image

Supported tags and respective Dockerfile links

Installation

  1. Install Docker.

  2. Download an automated build from public the Docker Hub Registry: docker pull digitallyseamless/nodejs-bower-grunt

    (alternatively, you can build an image directly from this repository: docker build -t="digitallyseamless/nodejs-bower-grunt" github.com/digitallyseamless/docker-nodejs-bower-grunt)

Usage

docker run -it --rm digitallyseamless/nodejs-bower-grunt

Run node

docker run -it --rm digitallyseamless/nodejs-bower-grunt node

Run npm

docker run -it --rm digitallyseamless/nodejs-bower-grunt npm

Run bower

docker run -it --rm digitallyseamless/nodejs-bower-grunt bower

Run grunt

docker run -it --rm digitallyseamless/nodejs-bower-grunt grunt
Docker Pull Command
Owner
digitallyseamless

Comments (5)
skors
8 months ago

@miguelplazasr

docker run --rm -it -v $(pwd):/app -w /app digitallyseamless/nodejs-bower-grunt sh -c "grunt watch"

miguelplazasr
10 months ago

Hi, great image, thank you. Only a question, i have a grunt task with watch, after to run this task, how to can exit to a prompt line? Ctr + C, does not work

angarsky
a year ago

Navigate to your project's directory with a 'package.json' file and run at first time:

docker run -it --rm -v $(pwd):/data digitallyseamless/nodejs-bower-grunt npm install

polasekr
a year ago

Great image, thank you. I don't know what exactly the problem is, but grunt doesn't run out of the box. I got error "Fatal error: Unable to find local grunt." I am complete newbie with that tool, but with help of Google I ran 'npm install' and it fixed the problem.

purzynski
a year ago

To created node_modules directory with dependencies when your package,json is in that location /home/your_user/project/package.json you need to execute below command:

docker run -it --rm -v /home/your_user/project:/data digitallyseamless/nodejs-bower-grunt npm install