Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

A Docker base image for running Gulp.js

Run Gulp.js for asset compilation and development via Docker.

Usage

  1. Create a Dockerfile inheriting basegulp:

     FROM localmed/basegulp
     # ...
    
  2. Add a Gemfile to your project for Sass dependencies:

     source 'https://rubygems.org'
     gem 'sass', '~> 3.3'
    
  3. Add a package.json to your project for Node dependencies. By default the CMD will be npm start, so add a start script as well.

     {
       "dependencies": {
         "gulp": "^3.8"
       },
       "scripts": {
         "start": "gulp build"
       }
     }
    
  4. Build and run your image:

     $ docker build -t gulpimage .
     $ docker run -it gulpimage
    
Docker Pull Command
Owner
localmed
Source Repository