Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Commit

Permalink
fix: build-script: yarn.lock file should not be removed and if update…
Browse files Browse the repository at this point in the history
…s are needed, that shoud fail the build process.
  • Loading branch information
nytamin committed Aug 20, 2018
1 parent 31385e8 commit d25fd22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
FROM node:8.11.1 AS build
WORKDIR /opt/mos-gateway
COPY . .
RUN rm yarn.lock
RUN yarn install --check-files
RUN yarn install --check-files --frozen-lockfile
RUN yarn build

# DEPLOY IMAGE
Expand Down

0 comments on commit d25fd22

Please sign in to comment.