mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
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-reversi/package.json", "./packages/misskey-reversi/"]
|
||||||
COPY --link ["packages/misskey-bubble-game/package.json", "./packages/misskey-bubble-game/"]
|
COPY --link ["packages/misskey-bubble-game/package.json", "./packages/misskey-bubble-game/"]
|
||||||
|
|
||||||
ARG NODE_ENV=production
|
|
||||||
|
|
||||||
RUN pnpm i --frozen-lockfile --aggregate-output --offline \
|
RUN pnpm i --frozen-lockfile --aggregate-output --offline \
|
||||||
&& pnpm rebuild -r
|
&& pnpm rebuild -r
|
||||||
|
|
||||||
COPY --link . ./
|
COPY --link . ./
|
||||||
|
|
||||||
|
ARG NODE_ENV=production
|
||||||
|
|
||||||
RUN git submodule update --init
|
RUN git submodule update --init
|
||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
RUN rm -rf .git/
|
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-reversi/package.json", "./packages/misskey-reversi/"]
|
||||||
COPY --link ["packages/misskey-bubble-game/package.json", "./packages/misskey-bubble-game/"]
|
COPY --link ["packages/misskey-bubble-game/package.json", "./packages/misskey-bubble-game/"]
|
||||||
|
|
||||||
ARG NODE_ENV=production
|
|
||||||
|
|
||||||
RUN pnpm i --frozen-lockfile --aggregate-output --offline \
|
RUN pnpm i --frozen-lockfile --aggregate-output --offline \
|
||||||
&& pnpm rebuild -r
|
&& pnpm rebuild -r
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user