Use gulp production mode in docker images.

This commit is contained in:
Emanuel Schütze 2017-01-12 15:45:15 +01:00
parent fb24ca0aba
commit c15ae4bbf9

View File

@ -27,7 +27,7 @@ RUN rm -rf /var/lib/apt/lists/*
# BUILD APP # BUILD APP
ADD . /app ADD . /app
RUN node_modules/.bin/gulp RUN node_modules/.bin/gulp --production
RUN rm -fr /tmp/node-v4.5.0-linux-x64/ RUN rm -fr /tmp/node-v4.5.0-linux-x64/
RUN rm -fr /app/bower_components RUN rm -fr /app/bower_components
RUN rm -fr /app/node_modules RUN rm -fr /app/node_modules