Stu Mason
Stu Mason

Activity

Pull Request Opened

PR #192 opened: fix(docs): preserve site/CHANGELOG layout in Dockerfile + disable lastUpdated

First containerised deploy of the docs site hit two issues. Both fixed here:

1. [vitepress] spawn git ENOENT on /app/changelog.mdlastUpdated: true uses git for last-modified timestamps but the build stage has neither git nor .git. Disabled for now; will wire .git into the build later if we want the timestamps back.

2. Include directive ../CHANGELOG.md couldn't resolve — the prior Dockerfile flattened /site onto /app, so site/changelog.md's ../CHANGELOG.md pointed at /CHANGELOG.md which didn't exist. Fixed by preserving the repo layout: COPY site/ to /app/site/ and CHANGELOG.md to /app/CHANGELOG.md, build from /app/site.

Local npm run build clean after the changes. Once merged I'll redeploy on Coolify.

+14
additions
-4
deletions
2
files changed