File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Node artifacts — the `frontend` stage runs `bun install` + `bun run build`
2+ # inside the image, so pulling these from the host both wastes build context
3+ # (~370 MB) and poisons the COPY layer's cache key. Without this ignore,
4+ # an unrelated `bun install` on the host can cause Docker to reuse a stale
5+ # `bun run build` output and ship pre-edit JS.
6+ frontend /node_modules
7+ frontend /dist
8+
9+ # The embedded SPA. The Dockerfile first copies the fresh dist from the
10+ # `frontend` build stage into this path, then does `COPY internal/ ./internal/`.
11+ # Without this ignore, that second COPY pulls any host-side stale
12+ # `internal/frontend/dist/index-*.js` back into the image (Docker COPY merges,
13+ # it does not remove extraneous destination files), shadowing the fresh bundle
14+ # via the stale `index.html`'s `<script src="/assets/index-OLD.js">`.
15+ internal /frontend /dist
16+
17+ # Go artifacts — compiled from source inside the `builder` stage.
18+ bin
19+ packyard
20+ * .db
21+ * .db-wal
22+ * .db-shm
23+
24+ # VCS + editor state
25+ .git
26+ .gitignore
27+ .github
28+ .idea
29+ .vscode
30+
31+ # Local dev / ops files
32+ * .log
33+ .env
34+ .env.local
35+ .env. * .local
36+ docker-compose.yml
37+ docker-compose.override.yml
38+ README.md
39+ AGENTS.md
40+ CLAUDE.md
You can’t perform that action at this time.
0 commit comments