syntaxai/tdd.md · commit 7b1da7f

Containerfile: include goals/ directory in the runtime image

Detail handler reads ./goals/<slug>.md at runtime — the directory
needs to ship with the container. /goals index already worked
because it reads from ALL_GOALS in memory; the detail page hit 404
because the file didn't exist in the container's filesystem.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
author
syntaxai <[email protected]>
date
2026-05-25 14:25:59 +01:00
parent
e923da8
commit
7b1da7fed3ba27d854ccb3d33e95cb9a56bd1914

1 file changed · +1 −0

modified Containerfile +1 −0
@@ -16,6 +16,7 @@ COPY --from=deps /app/node_modules ./node_modules
1616 COPY package.json bun.lock tsconfig.json sama.profile.toml ./
1717 COPY src ./src
1818 COPY content ./content
19+COPY goals ./goals
1920 COPY public ./public
2021
2122 ENV PORT=3000