Fix Quartz not reading mounted content directory
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 15s

Pass --directory /content so quartz build reads from the volume mount
instead of the default /quartz/content path.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-06 13:53:04 +01:00
parent fa79fe9cdb
commit 1f6c540c1c

View File

@@ -5,4 +5,4 @@ envsubst '${DOMAIN}' \
< /quartz/quartz.config.ts.template \
> /quartz/quartz.config.ts
exec npx quartz build --serve --port "${QUARTZ_PORT:-8080}"
exec npx quartz build --serve --port "${QUARTZ_PORT:-8080}" --directory /content