Merge pull request #2837 from emanuelschuetze/dockerfile

Use gulp production mode in docker images.
This commit is contained in:
Emanuel Schütze 2017-01-12 15:56:27 +01:00 committed by GitHub
commit aca97da9c6

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