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
|
# Exclude everything
|
||||||
cccl_upstream/
|
*
|
||||||
upstream_ref/
|
|
||||||
vllm/
|
# Only include what Dockerfile needs
|
||||||
muh/
|
!Dockerfile
|
||||||
docs/
|
!computility-run.yaml
|
||||||
optimizations/
|
!qwen3_6_scripts/
|
||||||
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/
|
|
||||||
|
|||||||
Reference in New Issue
Block a user