fix: build speed, observer AI details, round tracker empty state
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
- Disable typedRoutes and skip TS in build (run tsc separately) — build drops from ~9min to ~36s - Expand optimizePackageImports for sonner, date-fns, recharts, motion, zod - Docker: mount .next/cache as build cache for faster rebuilds - Observer filtering panel: fix AI reasoning extraction (nested under rule ID) and show confidence, quality score, spam risk, override reason - Round User Tracker: show empty state message instead of disappearing when selected round has no passed projects yet Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -23,9 +23,9 @@ COPY . .
|
||||
# Generate Prisma client
|
||||
RUN npx prisma generate
|
||||
|
||||
# Build Next.js
|
||||
# Build Next.js — mount .next/cache as a Docker build cache for faster rebuilds
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
RUN npm run build
|
||||
RUN --mount=type=cache,target=/app/.next/cache npm run build
|
||||
|
||||
# Production image, copy all the files and run next
|
||||
FROM base AS runner
|
||||
|
||||
Reference in New Issue
Block a user