summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMarie <marie@kaifa.ch>2023-09-24 17:55:08 +0200
committerGitHub <noreply@github.com>2023-09-24 17:55:08 +0200
commitdcd0b8c23b924f9ebe2116ca3f942980fa0a6f05 (patch)
tree001fbb3a212bad07a73fb9ec521c8a4afba8ee0d /Dockerfile
parentMerge pull request #5 from transfem-org/feature/masto-api (diff)
downloadsharkey-dcd0b8c23b924f9ebe2116ca3f942980fa0a6f05.tar.gz
sharkey-dcd0b8c23b924f9ebe2116ca3f942980fa0a6f05.tar.bz2
sharkey-dcd0b8c23b924f9ebe2116ca3f942980fa0a6f05.zip
fix: forgot to copy package over in docker
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 76e99a9dd0..0c25dd6f7d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,11 +20,11 @@ WORKDIR /sharkey
COPY --link ["pnpm-lock.yaml", "pnpm-workspace.yaml", "package.json", "./"]
COPY --link ["scripts", "./scripts"]
+COPY --link ["packages/megalodon/package.json", "./packages/megalodon/"]
COPY --link ["packages/backend/package.json", "./packages/backend/"]
COPY --link ["packages/frontend/package.json", "./packages/frontend/"]
COPY --link ["packages/sw/package.json", "./packages/sw/"]
COPY --link ["packages/misskey-js/package.json", "./packages/misskey-js/"]
-COPY --link ["packages/megalodon/package.json", "./packages/megalodon/"]
RUN --mount=type=cache,target=/root/.local/share/pnpm/store,sharing=locked \
pnpm i --frozen-lockfile --aggregate-output
@@ -79,6 +79,7 @@ WORKDIR /sharkey
COPY --chown=sharkey:sharkey --from=target-builder /sharkey/node_modules ./node_modules
COPY --chown=sharkey:sharkey --from=target-builder /sharkey/packages/backend/node_modules ./packages/backend/node_modules
COPY --chown=sharkey:sharkey --from=native-builder /sharkey/built ./built
+COPY --chown=sharkey:sharkey --from=native-builder /sharkey/packages/megalodon/lib ./packages/megalodon/lib
COPY --chown=sharkey:sharkey --from=native-builder /sharkey/packages/backend/built ./packages/backend/built
COPY --chown=sharkey:sharkey --from=native-builder /sharkey/fluent-emojis /sharkey/fluent-emojis
COPY --chown=sharkey:sharkey . ./