Merge branch 'master' into webpack-unification

This commit is contained in:
Wyatt Johnson
2016-11-08 15:07:18 -07:00
committed by GitHub
2 changed files with 2 additions and 7 deletions
+1 -7
View File
@@ -11,15 +11,9 @@ EXPOSE 5000
# Install app dependencies
COPY package.json /usr/src/app/
RUN npm install
RUN npm install --production
# Bundle app source
COPY . /usr/src/app
# Compile static assets
RUN npm run build
# Prune development dependancies
RUN npm prune --production
CMD [ "npm", "start" ]
+1
View File
@@ -8,6 +8,7 @@ test:
override:
- MOCHA_FILE=$CIRCLE_TEST_REPORTS/junit/test-results.xml ./node_modules/.bin/mocha tests --reporter mocha-junit-reporter
- npm run lint
- npm run build
deployment:
release: