Skip to content

fix(api): add @comp/company package to Dockerfile#2148

Merged
tofikwest merged 1 commit into
mainfrom
tofik/fix-api-dockerfile-company-package
Feb 17, 2026
Merged

fix(api): add @comp/company package to Dockerfile#2148
tofikwest merged 1 commit into
mainfrom
tofik/fix-api-dockerfile-company-package

Conversation

@tofikwest
Copy link
Copy Markdown
Contributor

Summary

  • The @comp/company workspace package was added as an API dependency in PR [dev] [carhartlewis] lewis/comp-company-tasks #2128 but the API Dockerfile was not updated
  • bun install fails during Docker build: Workspace dependency "@comp/company" not found
  • Added packages/company to all 3 Dockerfile stages (deps, builder, production)

Test plan

  • Staging API build succeeds (CodeBuild)
  • API starts and responds to health check

🤖 Generated with Claude Code

The @comp/company workspace package was added as an API dependency
but the Dockerfile was not updated, causing bun install to fail
during the Docker build with "Workspace dependency @comp/company
not found".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cursor
Copy link
Copy Markdown

cursor Bot commented Feb 17, 2026

PR Summary

Low Risk
Dockerfile-only change that adds a missing workspace package to the build; low risk aside from potential build cache/incremental build behavior changes.

Overview
Fixes the API Docker build by adding the packages/company workspace package to apps/api/Dockerfile.multistage.

The deps stage now copies packages/company/package.json before bun install, the builder stage copies and builds packages/company, and the production stage copies packages/company so workspace symlinks in node_modules resolve at runtime.

Written by Cursor Bugbot for commit 9e8f5b9. This will update automatically on new commits. Configure here.

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
app Skipped Skipped Feb 17, 2026 1:24pm
portal Skipped Skipped Feb 17, 2026 1:24pm

Request Review

@tofikwest tofikwest merged commit d91bcaa into main Feb 17, 2026
9 checks passed
@tofikwest tofikwest deleted the tofik/fix-api-dockerfile-company-package branch February 17, 2026 13:25
claudfuen pushed a commit that referenced this pull request Feb 17, 2026
## [1.83.2](v1.83.1...v1.83.2) (2026-02-17)

### Bug Fixes

* **api:** add @comp/company package to Dockerfile ([#2148](#2148)) ([d91bcaa](d91bcaa))
* **api:** inline mergeDeviceLists to fix production runtime crash ([#2146](#2146)) ([04ef343](04ef343))
@claudfuen
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.83.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants