# Keep the build context small and, more importantly, HERMETIC: the image must
# be built from sources only, never from whatever happens to be lying around in
# a developer's working tree.

.git
.gitea
.gitignore
.dockerignore

# Host-built artifacts. The image builds its own; copying a linux/amd64 binary
# from a Windows checkout (or vice versa) would silently poison the image.
dist/
prizma
prizma.exe
*.test

# node_modules is reinstalled by `npm ci` inside the node stage — a host copy
# carries the host's optional platform binaries (esbuild/rollup) and breaks the
# alpine build.
web/node_modules
web/dist
node_modules

# The SPA is copied in from the node stage; the committed placeholder would
# otherwise shadow it if the copy order ever changed.
internal/webui/dist

# Live state and secrets must never enter an image layer.
data/
*.db
*.db-wal
*.db-shm
.env
.env.*
!.env.example

# Docs and examples do not affect the binary.
docs/
*.md
!README.md
docker-compose*.yml
LICENSE

.idea/
.vscode/
.DS_Store
Thumbs.db
