Skip to content

fix(docker): include bun-env.d.ts in Dockerfile for build context#6

Merged
PabloZaiden merged 1 commit into
mainfrom
fix-docker-build
May 2, 2026
Merged

fix(docker): include bun-env.d.ts in Dockerfile for build context#6
PabloZaiden merged 1 commit into
mainfrom
fix-docker-build

Conversation

@PabloZaiden

Copy link
Copy Markdown
Owner

This pull request updates the Dockerfile to ensure that the bun-env.d.ts file is included during both the build and runtime stages. This change helps guarantee that all necessary type definitions are available in the container environment.

Dockerfile improvements:

  • Added bun-env.d.ts to the list of files copied into the build and runtime stages, ensuring type definitions are available in the container. [1] [2]

Copilot AI review requested due to automatic review settings May 2, 2026 17:29
@PabloZaiden
PabloZaiden enabled auto-merge (squash) May 2, 2026 17:29
@PabloZaiden
PabloZaiden merged commit 8a161f6 into main May 2, 2026
3 checks passed
@PabloZaiden
PabloZaiden deleted the fix-docker-build branch May 2, 2026 17:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Docker image build context to include bun-env.d.ts, ensuring the containerized bun run build (which runs tsc) has access to the project’s ambient type declarations.

Changes:

  • Copy bun-env.d.ts into the build stage so bun run build / tsc can typecheck successfully.
  • Copy bun-env.d.ts into the runtime stage to keep the container’s working directory consistent with local typecheck expectations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants