fix(build): whitelist .dockerignore — only send Dockerfile + computility-run.yaml + qwen3_6_scripts/

之前的 .dockerignore 是黑名单模式,漏掉了 ixformer_sdk/(3.6MB) 和 vllm_overrides/ 等目录。
改为白名单模式:排除一切,只保留 Dockerfile 需要的三个路径。
project_7 用同样的三个文件 docker build 成功。
This commit is contained in:
project6-dev
2026-08-12 03:42:04 +00:00
parent 8030a11b96
commit 5b8c08ddfa

View File

@@ -1,21 +1,7 @@
# Exclude everything not needed for the Docker image
cccl_upstream/
upstream_ref/
vllm/
muh/
docs/
optimizations/
vllm_adapter/
*.zip
*.txt
*.md
*.json
*.muh
.git/
.gitignore
__pycache__/
*.pyc
debug_*.py
verify_*.py
# Keep: qwen3_6_scripts/, computility-run.yaml, Dockerfile, ex_engine/
ex_engine/
# Exclude everything
*
# Only include what Dockerfile needs
!Dockerfile
!computility-run.yaml
!qwen3_6_scripts/