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