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 +