# Keep the docker build context tiny — buildx serializes everything
# in here over the wire to the BuildKit container, so excluding
# generated trees is both a speedup AND a correctness guard (an
# earlier version had the buildx cache nested under kez-chat/deploy/
# and the cache grew with every build because it was being copied
# into itself).

# Rust target dirs
**/target/

# Node
**/node_modules/
**/.npm/

# SPA build artifacts (the Dockerfile rebuilds these inside the image)
kez-chat/web/dist/

# Buildx cache + prebuilt artifacts from the fast-deploy path —
# these are produced BY the build; they must not be inputs.
kez-chat/deploy/.buildx-cache/
kez-chat/deploy/prebuilt/

# Local dev / OS / editor cruft
.DS_Store
.idea/
.vscode/
*.swp
*~

# Git internals — Dockerfile doesn't need history
.git/

# Local SQLite databases (and journals)
**/*.db
**/*.db-shm
**/*.db-wal
**/*.db-journal
