diff --git a/Dockerfile b/Dockerfile index 0b81040b..cf3c3a5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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