From 61909bfbd39976dac6bafbde503d23e038af3502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Thu, 22 Feb 2024 08:13:19 +0900 Subject: [PATCH] fix docker build --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5ccccf2482..744502ad1e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,13 +31,13 @@ COPY --link ["packages/misskey-js/package.json", "./packages/misskey-js/"] COPY --link ["packages/misskey-reversi/package.json", "./packages/misskey-reversi/"] COPY --link ["packages/misskey-bubble-game/package.json", "./packages/misskey-bubble-game/"] -ARG NODE_ENV=production - RUN pnpm i --frozen-lockfile --aggregate-output --offline \ && pnpm rebuild -r COPY --link . ./ +ARG NODE_ENV=production + RUN git submodule update --init RUN pnpm build RUN rm -rf .git/ @@ -65,8 +65,6 @@ COPY --link ["packages/misskey-js/package.json", "./packages/misskey-js/"] COPY --link ["packages/misskey-reversi/package.json", "./packages/misskey-reversi/"] COPY --link ["packages/misskey-bubble-game/package.json", "./packages/misskey-bubble-game/"] -ARG NODE_ENV=production - RUN pnpm i --frozen-lockfile --aggregate-output --offline \ && pnpm rebuild -r