# --- Git ---
.git/
.gitignore
.dockerignore

# --- IDEs ---
.idea/
.vscode/
.cursor/
*.swp
.DS_Store

# --- Environment & Configs ---
.env
.env.*
!.env.example
docker-compose.yaml
docker-compose.override.yaml

# --- Documentation ---
# 通常构建镜像不需要文档
documents/
*.md
*.pdf

# --- Local Data & Logs ---
data/
backups/
logs/
tmp/
scripts/

# --- Backend ---
# 忽略本地编译的二进制文件，Docker 构建应该在容器内重新编译
backend/bin/
backend/main
backend/main.exe
backend/coverage.out
# 如果你在构建阶段不需要 vendor 目录（例如在容器内 go mod download）
backend/vendor/

# --- Frontend ---
# 忽略 node_modules，必须在容器内安装依赖以匹配容器架构
frontend/node_modules/
# 忽略本地构建产物
frontend/dist/
frontend/coverage/
frontend/tests/

