From 40cd0add8d806471877f62a4149cc0f712940523 Mon Sep 17 00:00:00 2001 From: dakkar Date: Thu, 7 Mar 2024 12:58:02 +0000 Subject: [PATCH] (not great) deps trimming --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2d08223336..05f52d3a83 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,8 +60,9 @@ COPY --link ["packages/misskey-bubble-game/package.json", "./packages/misskey-bu ARG NODE_ENV=production +RUN node scripts/trim-deps.mjs 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