casualroom/.dockerignore

105 lines
1.2 KiB
Plaintext
Raw Normal View History

2025-07-28 07:50:50 +08:00
# Docker构建忽略文件
# 减少构建上下文大小,提高构建速度
# Git相关
.git
.gitignore
.gitattributes
.github
# 文档
README.md
*.md
docs/
*.txt
# 开发工具配置
.vscode/
.idea/
*.swp
*.swo
*~
# 日志文件
*.log
logs/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# 运行时数据
pids/
*.pid
*.seed
*.pid.lock
# 覆盖率目录
coverage/
.nyc_output/
.coverage/
# 依赖目录在Dockerfile中重新安装
node_modules/
.pnpm-store/
# 构建输出(在容器中重新构建)
dist/
build/
.next/
.turbo/
# 环境变量文件
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
# 临时文件
.tmp/
temp/
tmp/
# 操作系统文件
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# 编辑器备份文件
*~
*.bak
*.tmp
# 测试相关
.jest/
test-results/
playwright-report/
# 缓存目录
.cache/
.parcel-cache/
.eslintcache
# 上传文件目录(运行时生成)
apps/backend/uploads/
# Docker相关
Dockerfile*
docker-compose*.yml
.dockerignore
# 构建脚本输出
docker-images/
# Docker运行时数据目录包含数据库数据等
docker/
# 其他不需要的文件
*.tgz
*.tar.gz