From 321efb5a9fad76ef7faf0fccbc7d7816744ef45c Mon Sep 17 00:00:00 2001 From: Endial Fang Date: Tue, 20 Jan 2026 14:11:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=20Docker=20=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E5=BF=BD=E7=95=A5=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dockerignore | 54 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 50 insertions(+), 4 deletions(-) diff --git a/.dockerignore b/.dockerignore index 4df4001..60a53ba 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,11 +1,57 @@ +# 忽略所有 .git 相关 .git .gitignore +.gitmodules +.gitattributes -./Makefile +# 忽略 IDE 和编辑器文件 +.idea/ +.vscode/ +*.iml +Thumbs.db +# 忽略本地依赖和构建缓存 +node_modules/ +__pycache__/ +*.pyc +.env +.env.* +secrets/ +config/local.* + +# 忽略日志和临时文件 +*.log +npm-debug.log* +yarn-error.log* + +# 忽略测试报告(除非需要) +coverage/ +htmlcov/ +.pytest_cache/ + +# 忽略 macOS 特有文件 +.DS_Store +.AppleDouble +.LSOverride +Icon? +._* +.Spotlight-V100 +.Trashes + +# 忽略构建产物(如果 Docker 内部会重新构建) +dist/ +build/ +out/ +target/ + +# 忽略项目特有文件及目录 +img +build.sh +LICENSE +README.md *.yml *.yaml -./LICENSE -./README.md -./img +# 忽略 AI 规则文件 +.lingma +