Skip to content

Commit 4601e42

Browse files
authored
Mariano/fix 5 (#1889)
* refactor(api): streamline Dockerfile and buildspec for node_modules handling * chore(dependencies): update bun lock * refactor(api): update buildspec to remove workspace dependency from package.json
1 parent 27fad97 commit 4601e42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/api/buildspec.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ phases:
7979
- cp ../../packages/integration-platform/package.json ../docker-build/node_modules/@comp/integration-platform/
8080

8181
- cp Dockerfile ../docker-build/
82-
- cp package.json ../docker-build/
82+
# Remove workspace dependency from package.json (it's copied manually above)
83+
- cat package.json | jq 'del(.dependencies["@comp/integration-platform"])' > ../docker-build/package.json
8384
- cp ../../bun.lock ../docker-build/ || true
8485

8586
- echo "Building Docker image..."

0 commit comments

Comments
 (0)