freeze-lockfile option on yarn

This commit is contained in:
Calvin Bui 2020-06-11 11:42:56 +10:00
parent d10b219db5
commit e6596ca6ee
No known key found for this signature in database
GPG Key ID: 7CE1A3592DA0F6FB
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ FROM node:lts-alpine as build-stage
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN yarn install RUN yarn install --frozen-lockfile
COPY . . COPY . .
RUN yarn build RUN yarn build

View File

@ -4,7 +4,7 @@ FROM node:lts-alpine as build-stage
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN yarn install RUN yarn install --frozen-lockfile
COPY . . COPY . .
RUN yarn build RUN yarn build

View File

@ -4,7 +4,7 @@ FROM node:lts-alpine as build-stage
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN yarn install RUN yarn install --frozen-lockfile
COPY . . COPY . .
RUN yarn build RUN yarn build