fix(docker): use scripts/build.js and update workflow for manual builds

Co-authored-by: Qwen-Coder <[email protected]>
This commit is contained in:
tanzhenxinandQwen-Coder committed 2026-02-05 14:52:18 +08:00
1 parent 584b9ca0f6
commit 9abb958a23
2 files changed
+53 -10

No files matched your search

+2 -1
View File
@@ -20,8 +20,9 @@ COPY . /home/node/app
WORKDIR /home/node/app
# Install dependencies and build packages
# Use scripts/build.js which handles workspace dependencies in correct order
RUN npm ci \
&& npm run build --workspaces \
&& npm run build \
&& npm pack -w @qwen-code/qwen-code --pack-destination ./packages/cli/dist \
&& npm pack -w @qwen-code/qwen-code-core --pack-destination ./packages/core/dist