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

View File

@ -6,7 +6,12 @@ WORKDIR /usr/src/app
COPY package.json /usr/src/app/ COPY package.json /usr/src/app/
RUN npm install 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 COPY . /usr/src/app
RUN gulp styles
RUN npm cache clean RUN npm cache clean
CMD [ "npm", "start" ] CMD [ "npm", "start" ]