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:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user