104 lines
1.4 KiB
Plaintext
104 lines
1.4 KiB
Plaintext
# ============================================
|
||
# Docker 构建排除文件配置
|
||
# 优化构建上下文大小,加速构建
|
||
# ============================================
|
||
|
||
# 依赖包(在 Docker 中重新安装)
|
||
node_modules
|
||
.pnp
|
||
.pnp.js
|
||
|
||
# Next.js 构建产物(在 Docker 中重新构建)
|
||
.next
|
||
out
|
||
build
|
||
dist
|
||
|
||
# 测试相关
|
||
coverage
|
||
**/*.test.ts
|
||
**/*.test.tsx
|
||
**/*.spec.ts
|
||
**/*.spec.tsx
|
||
__tests__
|
||
|
||
# 日志文件
|
||
*.log
|
||
logs
|
||
npm-debug.log*
|
||
yarn-debug.log*
|
||
yarn-error.log*
|
||
|
||
# 本地环境变量(不要打包到镜像中,运行时通过 Docker 环境变量配置)
|
||
.env
|
||
.env.*
|
||
.env.local
|
||
.env.*.local
|
||
.env.example
|
||
.env.production
|
||
.env.production.local
|
||
env-backups
|
||
config-bianliang.env
|
||
|
||
# 版本控制
|
||
.git
|
||
.gitignore
|
||
.gitattributes
|
||
|
||
# IDE 配置
|
||
.vscode
|
||
.idea
|
||
.cursor
|
||
.trae
|
||
.kiro
|
||
*.swp
|
||
*.swo
|
||
|
||
# 文档(保留 VERSION.txt)
|
||
docs
|
||
*.md
|
||
!VERSION.txt
|
||
|
||
# 脚本(只保留生产构建和容器启动必需入口)
|
||
scripts/*
|
||
!scripts/docker-entrypoint.sh
|
||
!scripts/build-obfuscated.js
|
||
!scripts/obfuscate-config.js
|
||
|
||
# 临时文件
|
||
uploads
|
||
public/uploads
|
||
backups
|
||
*.tmp
|
||
*.temp
|
||
.cache
|
||
tmp
|
||
temp
|
||
.DS_Store
|
||
Thumbs.db
|
||
|
||
# 压缩包和部署产物
|
||
*.tar.gz
|
||
*.zip
|
||
*.tar
|
||
*.bak-*
|
||
*.ps1.bak-*
|
||
deploy-artifacts
|
||
docker-images
|
||
gongxiangp2-source-reference-20260309-202917
|
||
gongxiangp2-source-reference-20260413-172354
|
||
gongxiangp2-source-reference-old-style-20260513-132942
|
||
license-server
|
||
flnxi-agent
|
||
flnxi-agent-go
|
||
|
||
# 数据库文件
|
||
*.sql
|
||
*.db
|
||
*.sqlite
|
||
|
||
# 其他
|
||
*.pem
|
||
*.key
|
||
frp_*
|