1
0
Fork 0

fix(deploy): ship CHANGELOG.md in the runtime image for /changelog

This commit is contained in:
Jason Fraley 2026-10-11 16:25:18 -04:00
parent be21ca36c2
commit bcbfa09d68

View file

@ -175,6 +175,10 @@ COPY --from=prod-deps --chown=node:node /app/node_modules ./node_modules
# migration files under src/migrations/*.
COPY --from=builder --chown=node:node /app/src ./src
COPY --from=builder --chown=node:node /app/package.json ./package.json
# The bot's /changelog command reads CHANGELOG.md at runtime (resolved to
# /app/CHANGELOG.md relative to src/bot/commands/changelog.ts); without this
# copy the command fails with ENOENT in the container.
COPY --from=builder --chown=node:node /app/CHANGELOG.md ./CHANGELOG.md
COPY --from=builder --chown=node:node /app/tsconfig.json ./tsconfig.json
COPY --from=builder --chown=node:node /app/bun.lock ./bun.lock
COPY --from=builder --chown=node:node /app/next.config.mjs ./next.config.mjs