Bumped node version, replaced bcrypt -> bcryptjs

This commit is contained in:
Wyatt Johnson
2017-07-25 10:01:05 +10:00
parent db183124c9
commit 3e09d28308
6 changed files with 13 additions and 19 deletions
+2 -4
View File
@@ -1,4 +1,4 @@
FROM node:7.10.1
FROM node:latest
# Create app directory
RUN mkdir -p /usr/src/app
@@ -13,11 +13,9 @@ EXPOSE 5000
COPY . /usr/src/app
# Install app dependencies and build static assets.
RUN yarn global add node-gyp && \
yarn install --frozen-lockfile && \
RUN yarn install --frozen-lockfile && \
cli plugins reconcile && \
yarn build && \
yarn install --production && \
yarn cache clean
# Ensure the runtime of the container is in production mode.