Merge pull request #2837 from emanuelschuetze/dockerfile
Use gulp production mode in docker images.
This commit is contained in:
commit
aca97da9c6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user