Fix: next.config.ts -> next.config.js (Prod-Image hat kein TypeScript)

Das runner-Stage uebernimmt node_modules aus dem deps-Stage (npm ci --omit=dev),
enthaelt also kein TypeScript. Next.js konnte die next.config.ts deshalb zur
Laufzeit nicht transpilieren und brach beim Start ab ("Failed to transpile
next.config.ts"). Die Config setzt nur turbopack.root, was fuer `next start`
ohnehin irrelevant ist - daher gleichwertig als CommonJS-JS-Datei.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-12 21:47:40 +02:00
parent 889ed597ae
commit bb85a0c324
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -20,6 +20,6 @@ COPY --from=deps /app/node_modules ./node_modules
COPY --from=builder /app/.next ./.next
COPY --from=builder /app/public ./public
COPY --from=builder /app/package.json ./package.json
COPY --from=builder /app/next.config.ts ./next.config.ts
COPY --from=builder /app/next.config.js ./next.config.js
EXPOSE 3000
CMD ["npm", "start"]