add gulp stuff to build process

This commit is contained in:
Martin Guether 2017-04-07 15:34:33 +02:00
parent 1426bc9c24
commit 03059b67f1
1 changed files with 5 additions and 0 deletions

View File

@ -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" ]