Add only subdirectory of static

This commit is contained in:
Ian Minoso 2016-10-24 17:53:09 -04:00
parent 77bdcf893d
commit 6cf53848dd

View file

@ -77,7 +77,7 @@ RUN npm install
RUN npm link typescript RUN npm link typescript
# Add static files # Add static files
ADD static static ADD static/js/directives static/dist
# Run Webpack # Run Webpack
RUN npm run build RUN npm run build
@ -91,7 +91,6 @@ RUN cd grunt && npm install
# Run grunt # Run grunt
RUN cd grunt && grunt RUN cd grunt && grunt
ADD static/js/directives static/dist
RUN apt-get remove -y --auto-remove python-dev g++ libjpeg62-dev libevent-dev libldap2-dev libsasl2-dev libpq-dev libffi-dev libgpgme11-dev nodejs npm RUN apt-get remove -y --auto-remove python-dev g++ libjpeg62-dev libevent-dev libldap2-dev libsasl2-dev libpq-dev libffi-dev libgpgme11-dev nodejs npm
RUN apt-get autoremove -y RUN apt-get autoremove -y