.dockerignore31 lines · main
1node_modules
2**/node_modules
3.next
4**/.next
5.turbo
6**/.turbo
7dist
8**/dist
9# apps/studio is the large (~660MB) broken Supabase fork. It is gated out
10# of the production stack (no studio service in dokploy/compose.yml), so we
11# keep its ~660MB of SOURCE out of the build context that every app
12# Dockerfile sends to the daemon (`context: ../..` + `COPY . .`).
13# BUT: apps/studio is a workspace member in pnpm-lock.yaml (importer entry),
14# so `pnpm install --frozen-lockfile` aborts if its package.json is missing.
15# Therefore exclude the contents but KEEP package.json so the frozen install
16# still resolves the workspace. (Re-include the whole dir by deleting these
17# two lines if the studio build is ever fixed + a studio service added back.)
18apps/studio/*
19!apps/studio/package.json
20# .git is intentionally NOT ignored — apps/api/src/routes/health.ts reads
21# .git/HEAD at boot to populate /info.buildSha when a docker build doesn't
22# pass BRIVEN_BUILD_SHA as a build-arg (e.g. Dokploy auto-deploys).
23.github
24.vscode
25.idea
26.DS_Store
27.env
28.env.*
29docs
30apps/runtime/data
31apps/api/data