Actually do release build

This commit is contained in:
2017-03-01 21:47:58 +00:00
parent 967d2cf6ab
commit 92899edbe5

View File

@@ -17,14 +17,7 @@ ENV PORT 80
EXPOSE 80
# Run production build
RUN npm run build --release --silent
WORKDIR /usr/src/app/build
# Install Node.js dependencies
RUN npm install --production --silent
WORKDIR /usr/src/app
RUN npm run build -- --release --silent
RUN curl https://api.rollbar.com/api/1/deploy/ \
-F access_token=8bf333d044df48c19a6929e4b1613a8e \