diff --git a/Dockerfile b/Dockerfile index ff113b7..b588e83 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,10 +30,11 @@ COPY --from=builder /app/public* ./public COPY --from=builder /app/package*.json ./ # KORREKTUR: Flexibles Kopieren der Next-Konfiguration (egal ob .js oder .mjs) COPY --from=builder /app/next.config.* ./ -COPY --from=builder /app/next.config.* ./ # Optionale TS-Dateien (nur kopieren, wenn vorhanden, blockiert den Build nicht mehr) COPY --from=builder /app/tsconfig.json ./ 2>/dev/null || true COPY --from=builder /app/next-env.d.ts ./ 2>/dev/null || true +COPY --from=builder /app/tsconfig.json ./ 2>/dev/null || true +COPY --from=builder /app/next-env.d.ts ./ 2>/dev/null || true # Install production dependencies (already installed in builder, but ensure they are present) RUN npm ci --omit=dev