Fix Quartz not reading mounted content directory
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 <[email protected]>
This commit is contained in:
2026-04-06 13:53:04 +01:00
co-authored by Claude Sonnet 4.6
parent fa79fe9cdb
commit 1f6c540c1c
+1 -1
View File
@@ -5,4 +5,4 @@ envsubst '${DOMAIN}' \
< /quartz/quartz.config.ts.template \ < /quartz/quartz.config.ts.template \
> /quartz/quartz.config.ts > /quartz/quartz.config.ts
exec npx quartz build --serve --port "${QUARTZ_PORT:-8080}" exec npx quartz build --serve --port "${QUARTZ_PORT:-8080}" --directory /content