From: Calvin Bui <3604363+calvinbui@users.noreply.github.com> Date: Thu, 11 Jun 2020 01:42:56 +0000 (+1000) Subject: freeze-lockfile option on yarn X-Git-Tag: 132942766^2 X-Git-Url: https://git.immae.eu/?p=github%2Fbastienwirtz%2Fhomer.git;a=commitdiff_plain;h=e6596ca6eea8792cb6b1a6a2e1c48b8ed44093cd freeze-lockfile option on yarn --- diff --git a/Dockerfile b/Dockerfile index 29fda0e..205d759 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM node:lts-alpine as build-stage WORKDIR /app COPY package*.json ./ -RUN yarn install +RUN yarn install --frozen-lockfile COPY . . RUN yarn build diff --git a/Dockerfile.arm32v7 b/Dockerfile.arm32v7 index d1ef138..7664f66 100644 --- a/Dockerfile.arm32v7 +++ b/Dockerfile.arm32v7 @@ -4,7 +4,7 @@ FROM node:lts-alpine as build-stage WORKDIR /app COPY package*.json ./ -RUN yarn install +RUN yarn install --frozen-lockfile COPY . . RUN yarn build diff --git a/Dockerfile.arm64v8 b/Dockerfile.arm64v8 index 2f26d09..0175341 100644 --- a/Dockerfile.arm64v8 +++ b/Dockerfile.arm64v8 @@ -4,7 +4,7 @@ FROM node:lts-alpine as build-stage WORKDIR /app COPY package*.json ./ -RUN yarn install +RUN yarn install --frozen-lockfile COPY . . RUN yarn build