fix(deploy): ship CHANGELOG.md in the runtime image for /changelog
This commit is contained in:
parent
be21ca36c2
commit
bcbfa09d68
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue