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]>
1 file changed · +1 −0
Containerfile
+1
−0
| @@ -16,6 +16,7 @@ COPY --from=deps /app/node_modules ./node_modules | ||
| 16 | 16 | COPY package.json bun.lock tsconfig.json sama.profile.toml ./ |
| 17 | 17 | COPY src ./src |
| 18 | 18 | COPY content ./content |
| 19 | +COPY goals ./goals | |
| 19 | 20 | COPY public ./public |
| 20 | 21 | |
| 21 | 22 | ENV PORT=3000 |