From cb81314b92e80bf0e372a4acf883f58468056481 Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Wed, 27 Dec 2023 23:38:11 +0900 Subject: [PATCH] fix: running from docker is broken https://redirect.github.com/misskey-dev/misskey/pull/12824 --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 95d370e64..ba1d1ba29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,6 +58,7 @@ RUN --mount=type=cache,target=/root/.local/share/pnpm/store,sharing=locked \ COPY --link ["pnpm-workspace.yaml", "package.json", "./"] COPY --link ["scripts", "./scripts"] COPY --link ["packages/backend/package.json", "./packages/backend/"] +COPY --link ["packages/misskey-js/package.json", "./packages/misskey-js/"] RUN pnpm i --frozen-lockfile --aggregate-output --offline @@ -83,7 +84,9 @@ WORKDIR /misskey COPY --chown=misskey:misskey --from=target-builder /misskey/node_modules ./node_modules COPY --chown=misskey:misskey --from=target-builder /misskey/packages/backend/node_modules ./packages/backend/node_modules +COPY --chown=misskey:misskey --from=target-builder /misskey/packages/misskey-js/node_modules ./packages/misskey-js/node_modules COPY --chown=misskey:misskey --from=native-builder /misskey/built ./built +COPY --chown=misskey:misskey --from=native-builder /misskey/packages/misskey-js/built ./packages/misskey-js/built COPY --chown=misskey:misskey --from=native-builder /misskey/packages/backend/built ./packages/backend/built COPY --chown=misskey:misskey --from=native-builder /misskey/fluent-emojis /misskey/fluent-emojis COPY --chown=misskey:misskey . ./