Files

45 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2026-09-11 02:46:56 +02:00
# ============================================================================
# Build context for BOTH images is the repository root (see docker-compose.yml).
# Everything below is either reinstalled/rebuilt inside the image or must never
# enter one.
# ============================================================================
# Dependencies and build output - recreated by pnpm install / pnpm build.
**/node_modules
apps/web/build
apps/web/.react-router
apps/cms/dist
apps/cms/build
apps/cms/.strapi
apps/cms/.tmp
apps/cms/.cache
# Secrets. The containers receive their environment from docker compose, so no
# .env belongs in an image - including the per-application ones (apps/web/.env,
# apps/cms/.env), which COPY apps/web / COPY apps/cms would otherwise pick up.
**/.env
**/.env.*
!**/.env.example
2026-09-11 02:46:56 +02:00
# Licensed fonts are mounted or copied in at deploy time, never baked into a
# published image. See the FONTS section of README.md.
apps/web/public/fonts/*.woff2
apps/web/public/fonts/*.woff
apps/web/public/fonts/*.ttf
apps/web/public/fonts/*.otf
# Locally uploaded media lives in the cms-uploads volume, not in the image.
apps/cms/public/uploads/*
!apps/cms/public/uploads/.gitkeep
# Nothing here changes the built artefact; excluding it keeps the layer cache warm.
.git
.github
.vscode
.idea
docs
**/*.log
**/.DS_Store
**/coverage
**/*.tsbuildinfo