Use frozen-lockfile in Dockerfile pnpm install (#33333)

This commit is contained in:
Michael Telatynski 2026-04-30 14:15:55 +01:00 committed by GitHub
parent af20018ea2
commit a7ab72af11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ WORKDIR /src
COPY --parents package.json pnpm-lock.yaml pnpm-workspace.yaml patches scripts **/package.json /src/
RUN corepack enable
RUN --mount=type=bind,source=.git,target=/src/.git /src/scripts/docker-link-repos.sh
RUN pnpm install
RUN pnpm install --frozen-lockfile
# Build
COPY --link --exclude=.git --exclude=apps/web/docker . /src