fix docker build

This commit is contained in:
まっちゃとーにゅ 2024-02-22 08:13:19 +09:00
parent 1dce84dfe3
commit 61909bfbd3
No known key found for this signature in database
GPG Key ID: 6AFBBF529601C1DB
1 changed files with 2 additions and 4 deletions

View File

@ -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