Skip to content

Commit 9b338cc

Browse files
committed
fix: copy foundry-module directory into Docker runtime image
The foundry-module/ directory was never copied into the final Docker stage, so the /foundry-module/module.json endpoint returned 404 in production despite the handler code being present. https://claude.ai/code/session_01XMwxFR8BCi5XvgaSVMSBZB
1 parent 1d00ee7 commit 9b338cc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ COPY --from=builder /src/static /app/static
6060
# Copy database migrations for auto-migration on startup.
6161
COPY --from=builder /src/db/migrations /app/db/migrations
6262

63+
# Copy Foundry VTT module files for direct installation from this instance.
64+
COPY --from=builder /src/foundry-module /app/foundry-module
65+
6366
# Create persistent data directory owned by the chronicle user.
6467
# Media uploads go under /app/data/media (matches MEDIA_PATH default "./data/media").
6568
# Mount a volume at /app/data to persist media across container rebuilds.

0 commit comments

Comments
 (0)