Files
web_server/quartz/entrypoint.sh
Adam French 1f6c540c1c
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 15s
Fix Quartz not reading mounted content directory
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>
2026-04-06 13:53:04 +01:00

9 lines
192 B
Bash

#!/bin/sh
set -e
envsubst '${DOMAIN}' \
< /quartz/quartz.config.ts.template \
> /quartz/quartz.config.ts
exec npx quartz build --serve --port "${QUARTZ_PORT:-8080}" --directory /content