merge: Fix megalodon's path being wrong in Dockerfile and scripts (!1238)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1238

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
This commit is contained in:
Hazelnoot 2025-11-14 09:41:07 -05:00
commit 9ab37d1411
3 changed files with 3 additions and 3 deletions

View file

@ -65,7 +65,7 @@ COPY --chown=sharkey:sharkey --from=build /sharkey/packages/misskey-js/built ./p
COPY --chown=sharkey:sharkey --from=build /sharkey/packages/misskey-reversi/built ./packages/misskey-reversi/built
COPY --chown=sharkey:sharkey --from=build /sharkey/packages/misskey-bubble-game/built ./packages/misskey-bubble-game/built
COPY --chown=sharkey:sharkey --from=build /sharkey/packages/backend/built ./packages/backend/built
COPY --chown=sharkey:sharkey --from=build /sharkey/packages/megalodon/lib ./packages/megalodon/lib
COPY --chown=sharkey:sharkey --from=build /sharkey/packages/megalodon/built ./packages/megalodon/built
COPY --chown=sharkey:sharkey --from=build /sharkey/fluent-emojis ./fluent-emojis
COPY --chown=sharkey:sharkey --from=build /sharkey/tossface-emojis/dist ./tossface-emojis/dist
COPY --chown=sharkey:sharkey --from=build /sharkey/sharkey-assets ./packages/frontend/assets

View file

@ -22,7 +22,7 @@ const fs = require('fs');
fs.rmSync(__dirname + '/../packages/sw/built', { recursive: true, force: true });
fs.rmSync(__dirname + '/../packages/sw/node_modules', { recursive: true, force: true });
fs.rmSync(__dirname + '/../packages/megalodon/lib', { recursive: true, force: true });
fs.rmSync(__dirname + '/../packages/megalodon/built', { recursive: true, force: true });
fs.rmSync(__dirname + '/../packages/misskey-js/built', { recursive: true, force: true });
fs.rmSync(__dirname + '/../packages/misskey-js/node_modules', { recursive: true, force: true });

View file

@ -15,5 +15,5 @@ const fs = require('fs');
fs.rmSync(__dirname + '/../packages/misskey-reversi/built', { recursive: true, force: true });
fs.rmSync(__dirname + '/../packages/misskey-bubble-game/built', { recursive: true, force: true });
fs.rmSync(__dirname + '/../built', { recursive: true, force: true });
fs.rmSync(__dirname + '/../packages/megalodon/lib', { recursive: true, force: true });
fs.rmSync(__dirname + '/../packages/megalodon/built', { recursive: true, force: true });
})();