mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 23:29:51 +08:00
Merge branch 'master' into webpack-unification
This commit is contained in:
+1
-7
@@ -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" ]
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user