Skip to content

Commit c887d97

Browse files
Merge pull request #568 from docker/sec-cli/npm-ci-20260612-184913
fix: replace npm install with npm ci (20260612-184913)
2 parents 22b48a4 + cfdae34 commit c887d97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dev.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ FROM base AS deps
1717
RUN --mount=type=bind,target=.,rw \
1818
--mount=type=cache,target=/src/.yarn/cache \
1919
--mount=type=cache,target=/src/node_modules \
20-
yarn install && mkdir /vendor && cp yarn.lock /vendor
20+
yarn install --immutable && mkdir /vendor && cp yarn.lock /vendor
2121

2222
FROM scratch AS vendor-update
2323
COPY --from=deps /vendor /

0 commit comments

Comments
 (0)