Use frozen-lockfile in Dockerfile pnpm install (#33333)
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ WORKDIR /src
|
|||||||
COPY --parents package.json pnpm-lock.yaml pnpm-workspace.yaml patches scripts **/package.json /src/
|
COPY --parents package.json pnpm-lock.yaml pnpm-workspace.yaml patches scripts **/package.json /src/
|
||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
RUN --mount=type=bind,source=.git,target=/src/.git /src/scripts/docker-link-repos.sh
|
RUN --mount=type=bind,source=.git,target=/src/.git /src/scripts/docker-link-repos.sh
|
||||||
RUN pnpm install
|
RUN pnpm install --frozen-lockfile
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
COPY --link --exclude=.git --exclude=apps/web/docker . /src
|
COPY --link --exclude=.git --exclude=apps/web/docker . /src
|
||||||
|
|||||||
Reference in New Issue
Block a user