mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 01:03:08 +02:00
prune deps, don't bump their versions after trimming
This commit is contained in:
parent
e8cd49bf39
commit
d903e9dc6b
1 changed files with 3 additions and 1 deletions
|
@ -62,7 +62,9 @@ ARG NODE_ENV=production
|
||||||
|
|
||||||
RUN node scripts/trim-deps.mjs
|
RUN node scripts/trim-deps.mjs
|
||||||
RUN --mount=type=cache,target=/root/.local/share/pnpm/store,sharing=locked \
|
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
|
FROM --platform=$TARGETPLATFORM node:${NODE_VERSION}-slim AS runner
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue