prune deps, don't bump their versions after trimming
This commit is contained in:
parent
e8cd49bf39
commit
d903e9dc6b
|
@ -62,7 +62,9 @@ ARG NODE_ENV=production
|
|||
|
||||
RUN node scripts/trim-deps.mjs
|
||||
RUN --mount=type=cache,target=/root/.local/share/pnpm/store,sharing=locked \
|
||||
pnpm i --aggregate-output
|
||||
pnpm prune
|
||||
RUN --mount=type=cache,target=/root/.local/share/pnpm/store,sharing=locked \
|
||||
pnpm i --frozen-lockfile --aggregate-output
|
||||
|
||||
FROM --platform=$TARGETPLATFORM node:${NODE_VERSION}-slim AS runner
|
||||
|
||||
|
|
Loading…
Reference in New Issue