fix docker build
This commit is contained in:
parent
1dce84dfe3
commit
61909bfbd3
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue