From 03059b67f19a4b04b02c96bacd070b049a200378 Mon Sep 17 00:00:00 2001 From: Martin Guether Date: Fri, 7 Apr 2017 15:34:33 +0200 Subject: [PATCH] add gulp stuff to build process --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index bb8022d..17a36a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,12 @@ WORKDIR /usr/src/app COPY package.json /usr/src/app/ RUN npm install +RUN npm install gulp-rev-replace gulp-clean gulp-fingerprint gulp-rev gulp-rev-all gulp-rev-replace +RUN npm install -g --save-dev gulp + COPY . /usr/src/app +RUN gulp styles + RUN npm cache clean CMD [ "npm", "start" ]