fixed Dockerfile npm test

This commit is contained in:
alecmerdler 2017-01-09 18:05:49 -08:00
parent a6ac3b8940
commit 04232f7fd4

View file

@ -94,6 +94,10 @@ ADD static/js/directives/components static/dist/components
RUN npm install -g webpack
RUN webpack
# Run front-end tests
ADD karma.conf.js karma.conf.js
RUN npm test
# Install Grunt
RUN npm install -g grunt-cli
@ -104,9 +108,6 @@ RUN cd grunt && npm install
# Run grunt
RUN cd grunt && grunt
# Run front-end tests
RUN npm test
# Optimize our images
ADD static/img static/img
RUN jpegoptim static/img/**/*.jpg