Update Dockerfile

This commit is contained in:
fly_mc 2024-11-20 13:36:26 +08:00
parent f707632b54
commit add79a08f1

View file

@ -35,6 +35,9 @@ ARG NODE_ENV=production
RUN --mount=type=cache,target=/root/.local/share/pnpm/store,sharing=locked \
pnpm i --frozen-lockfile --aggregate-output
# megalodon
RUN cd packages/megalodon && pnpm add -D jest-worker @types/jest
COPY --link . ./
RUN git submodule update --init
@ -102,8 +105,7 @@ COPY --chown=misskey:misskey --from=native-builder /misskey/packages/misskey-js/
COPY --chown=misskey:misskey --from=native-builder /misskey/packages/misskey-reversi/built ./packages/misskey-reversi/built
COPY --chown=misskey:misskey --from=native-builder /misskey/packages/misskey-bubble-game/built ./packages/misskey-bubble-game/built
COPY --chown=misskey:misskey --from=native-builder /misskey/packages/backend/built ./packages/backend/built
COPY --chown=misskey:misskey --from=native-builder /misskey/packages/megalodon/lib ./packages/megalodon/lib
COPY --chown=misskey:misskey --from=native-builder /misskey/packages/megalodon/built ./packages/megalodon/built
COPY --chown=misskey:misskey --from=native-builder /misskey/fluent-emojis /misskey/fluent-emojis
COPY --chown=misskey:misskey . ./