feat: 更新镜像编译忽略配置

This commit is contained in:
2026-01-21 09:09:05 +08:00
parent 04bdfafabb
commit 8a7347671e
+50 -4
View File
@@ -1,11 +1,57 @@
# 忽略所有 .git 相关
.git .git
.gitignore .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 *.yml
*.yaml *.yaml
./LICENSE # 忽略 AI 规则文件
./README.md .lingma
./img