# ============================================== # Docker 忽略文件 # 优化构建上下文,减少构建时间 # ============================================== # Git 相关 .git .gitignore .gitattributes # 文档 README.md *.md docs/ # 开发配置 .env .env.local .env.development .env.test .env.production .envrc # IDE 和编辑器 .vscode/ .idea/ *.swp *.swo *~ # Node.js node_modules/ npm-debug.log* yarn-debug.log* yarn-error.log* .npm .yarn-integrity # Next.js chuan-next/.next/ chuan-next/out/ chuan-next/.env* chuan-next/build.log # Go 相关 # *.sum # 注释掉这行,因为需要 go.sum 文件 vendor/ # 构建输出 dist/ build/ *.exe *.exe~ # 日志文件 *.log logs/ # 临时文件 tmp/ temp/ .tmp # OS 生成文件 .DS_Store .DS_Store? ._* .Spotlight-V100 .Trashes ehthumbs.db Thumbs.db # Docker 相关 Dockerfile* docker-compose* .dockerignore # CI/CD .github/ .gitlab-ci.yml .travis.yml .circleci/ # 测试 coverage/ .nyc_output/ .coverage # 其他构建工具 .sass-cache/ .cache/