mirror of
https://github.com/civitai/civitai.git
synced 2026-09-20 22:08:18 +08:00
chore(docker): drop the .dockerignore prisma excludes
The runner stage only copies Next's standalone output (never packages/), so these never reached the production image — the excludes only trimmed build context, a micro-optimization not worth the per-new-package maintenance. Comment left in place explaining why. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+5
-3
@@ -14,6 +14,8 @@ tests
|
||||
.github
|
||||
.vscode
|
||||
playwright.config.ts
|
||||
prisma/migrations
|
||||
prisma/programmability
|
||||
prisma/seed.ts
|
||||
|
||||
# NOTE: we intentionally do NOT exclude packages/*/prisma/{migrations,programmability,seed.ts}.
|
||||
# The runtime image (runner stage) only copies Next's standalone output, never packages/, so
|
||||
# these never ship to production regardless. Excluding them only trimmed the build context — a
|
||||
# micro-optimization not worth the "remember to update it per new package" maintenance.
|
||||
Reference in New Issue
Block a user