Public | Automated Build

Last pushed: a year ago
Short Description
Image I use to build client-side static files (JS, CSS) using SASS, Nodejs
Full Description

frontend-build docker image

Image I use to build client-side static files (JS, CSS) using SASS, Nodejs

Provided image has nodejs, ruby and bundler installed for sass/compass builds.

Available tags

Typical usage

Dockerfile

FROM slyg/frontend-build:latest

WORKDIR /var/www/web
ADD . /var/www/web

RUN bundle install \
    npm install

docker-compose

app:
  build: .
  dockerfile: Dockerfile
  volumes:
    - ./public:/var/www/web/public
  command: bash -c "npm test && npm run build"
Docker Pull Command
Owner
slyg
Source Repository

Comments (0)