fix: running from docker is broken

https://redirect.github.com/misskey-dev/misskey/pull/12824
This commit is contained in:
anatawa12 2023-12-27 23:38:11 +09:00 committed by riku6460
parent 018ff4cbda
commit cb81314b92
No known key found for this signature in database
GPG key ID: 27414FA27DB94CF6

View file

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