2aafbc406a
Exclude VCS metadata, frontend/node_modules, local build output (out, dist, binaries, data) and Scratch so docker build ships only source to the stages. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
40 lines
770 B
Plaintext
40 lines
770 B
Plaintext
# Keep the Docker build context small and reproducible. The image builds the
|
|
# frontend and Go binary from source inside the stages, so none of the local
|
|
# build output, dependencies, or VCS metadata should be shipped into the build.
|
|
|
|
# VCS / CI
|
|
.git
|
|
.gitea
|
|
.github
|
|
|
|
# Frontend: rebuilt by the image (npm ci + next build)
|
|
frontend/node_modules
|
|
frontend/.next
|
|
frontend/out
|
|
|
|
# Staged UI embed output: the image regenerates and stages this itself
|
|
backend/internal/webui/dist/*
|
|
!backend/internal/webui/dist/.gitignore
|
|
|
|
# Go / build artifacts
|
|
binaries
|
|
**/*.exe
|
|
**/*.test
|
|
|
|
# Local runtime data
|
|
data
|
|
**/*.db
|
|
**/*.db-shm
|
|
**/*.db-wal
|
|
**/*.log
|
|
|
|
# Local scratch space and docs (not needed to build the app)
|
|
Scratch
|
|
docs
|
|
|
|
# Editor / OS noise
|
|
.idea
|
|
.vscode
|
|
**/.DS_Store
|
|
**/Thumbs.db
|