66 lines
832 B
Plaintext
66 lines
832 B
Plaintext
# 🚀 优化版 .dockerignore (减小镜像体积)
|
||
|
||
# 依赖和构建产物
|
||
node_modules
|
||
.next
|
||
.pnpm-store
|
||
.npm
|
||
.yarn
|
||
npm-debug.log*
|
||
yarn-debug.log*
|
||
yarn-error.log*
|
||
pnpm-debug.log*
|
||
lerna-debug.log*
|
||
|
||
# 版本控制
|
||
.git
|
||
.gitignore
|
||
|
||
# CI/CD
|
||
.github
|
||
.gitlab-ci.yml
|
||
|
||
# 开发工具和编辑器配置
|
||
.vscode
|
||
.cursor
|
||
.idea
|
||
*.swp
|
||
*.swo
|
||
.editorconfig
|
||
|
||
# 环境变量文件(保留.env以支持生产环境配置)
|
||
.env.*
|
||
!.env
|
||
!.env.example
|
||
|
||
# 测试和覆盖率
|
||
coverage
|
||
.nyc_output
|
||
test-results
|
||
*.test.*
|
||
*.spec.*
|
||
__tests__
|
||
|
||
# 文档和说明文件
|
||
*.md
|
||
!README.md
|
||
LICENSE
|
||
CHANGELOG*
|
||
|
||
# 临时文件和系统文件
|
||
.DS_Store
|
||
*.tmp
|
||
*.temp
|
||
Thumbs.db
|
||
.directory
|
||
.Trash-*
|
||
|
||
# Docker 相关文件(避免递归复制)
|
||
Dockerfile*
|
||
docker-compose*.yml
|
||
.dockerignore
|
||
|
||
# 其他开发文件
|
||
.next.config.js.backup
|
||
.eslintcache
|
||
.stylelintcache |