Files
KC-APP/.dockerignore
T
linusandClaude Sonnet 5 72367637aa build: drop the Flutter builder stage from the Docker image
The Flutter SDK image is ~2.8 GB and filled Docker Desktop's VM disk
("read-only file system" while extracting a layer). Build the web bundle
on the host instead and COPY client/app/build/web into the 2-stage
(NestJS build -> slim runtime) image. .dockerignore keeps the bundle,
drops the platform scaffolding. README documents the host `flutter build
web` prerequisite.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-10 12:23:33 +02:00

18 lines
375 B
Plaintext

**/node_modules
**/.dart_tool
**/coverage
**/*.log
.git
.github
backend/dist
# Flutter platform scaffolding / caches — the build/web bundle IS needed.
client/app/android
client/app/ios
client/app/linux
client/app/macos
client/app/windows
client/app/.dart_tool
# Secrets: passed at runtime via env_file / bind mount, never baked in.
backend/.env
backend/serviceAccount.json