Public Repository

Last pushed: 2 years ago
Short Description
A Node.js image based on mhart/alpine-node:4.3.0 with additional libraries added for grunt and sails
Full Description

Note: For maintained version, please use makerstudios/nodejs-grunt-sails

A Node.js image based on mhart/alpine-node:4.3.0 with additional libraries added for Grunt such as:

  • python
  • make
  • g++
  • git

Additionally, Sails.js and these common Grunt related node modules will be installed to /var/www/node_modules:

  • sails
  • grunt
  • grunt-sass
  • grunt-contrib-clean
  • grunt-contrib-concat
  • grunt-contrib-copy
  • grunt-contrib-cssmin
  • grunt-contrib-uglify
  • grunt-contrib-watch

If you don't require Sails.js, please refer to the very similar camsjams/nodejs-grunt image.

For this to work properly with your project, add this to the top of your Dockerfile:

# set base image to our desired version of Node
FROM camsjams/nodejs-grunt-sails
# check the tags section to see exposed Sails version, for example:
# FROM camsjams/nodejs-grunt-sails:0.12.0

# copy files from this directory '.' to '/var/www'
ADD . /var/www

# set cwd for RUN and CMD
WORKDIR /var/www
Docker Pull Command
Owner
camsjams

Comments (0)