(not great) deps trimming

This commit is contained in:
dakkar 2024-03-07 12:58:02 +00:00
parent 9e5be84348
commit 40cd0add8d
1 changed files with 2 additions and 1 deletions

View File

@ -60,8 +60,9 @@ COPY --link ["packages/misskey-bubble-game/package.json", "./packages/misskey-bu
ARG NODE_ENV=production ARG NODE_ENV=production
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 --frozen-lockfile --aggregate-output pnpm i --aggregate-output
FROM --platform=$TARGETPLATFORM node:${NODE_VERSION}-slim AS runner FROM --platform=$TARGETPLATFORM node:${NODE_VERSION}-slim AS runner