Public | Automated Build

Last pushed: 4 months ago
Short Description
Node plus tools I need to develop quickly.
Full Description

Docker Container with Node, Bower & Grunt installed

This repository contains a Dockerfile with Node, Bower & Grunt. It makes running grunt tasks on a windows machine much more error free (!lf/cr for example).

Run the script below to in the working directory of your Gruntfile.js file.

Quick Start Windows

  • Install Docker
  • Install PowerShell if needed
  • Clone/Download this repo
  • Put the file dnode.ps1 somewhere in your path
  • From a PowerShell start the dnode script in your project directory.
  • You can run node, bower, and grunt from the provided command line.

Quick Start OS X/Linux

  • You don't need this!!! ;)

Source

This was blatantly copied from Kevin's repo at https://github.com/kevinmims/node-bower-grunt

Base Docker Image

Docker Hub

Installation

  1. Install Docker for Windows.

  2. Build the image in PowerShell:

      docker run --rm -it -v $PWD/:/opt/project -w /opt/project jstormes/node
      `
    

Usage

  • After you build the image it will open a bash terminal with the current working directory mapped to the container's opt/project folder
  • Typing ls will list the contents of your working directory
  • typing grunt will run the Gruntfile.js file in that directory
Docker Pull Command
Owner
jstormes
Source Repository

Comments (0)