File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,16 @@ phases:
6767 - echo "Copying node_modules from root..."
6868 - cp -r ../../node_modules ../docker-build/
6969
70- # Override workspace packages with built versions
70+ # Remove workspace package symlinks, then copy built versions
71+ - echo "Replacing workspace packages with built versions..."
72+ - rm -rf ../docker-build/node_modules/@trycompai/utils
73+ - rm -rf ../docker-build/node_modules/@trycompai/db
74+ - rm -rf ../docker-build/node_modules/@comp/integration-platform
75+
76+ - mkdir -p ../docker-build/node_modules/@trycompai/utils
77+ - mkdir -p ../docker-build/node_modules/@trycompai/db
78+ - mkdir -p ../docker-build/node_modules/@comp/integration-platform
79+
7180 - cp -r ../../packages/utils/src ../docker-build/node_modules/@trycompai/utils/
7281 - cp ../../packages/utils/package.json ../docker-build/node_modules/@trycompai/utils/
7382 - cp -r ../../packages/db/dist ../docker-build/node_modules/@trycompai/db/
You can’t perform that action at this time.
0 commit comments