From f500f5f90060a9390274562e0bcdb75e56679148 Mon Sep 17 00:00:00 2001 From: Ronny Date: Mon, 6 Apr 2026 10:28:00 +0200 Subject: [PATCH] fix: skip tsc in frontend Docker build, use vite build directly CSS modules and Vite types not available during tsc check. Vite build works without prior tsc step. Co-Authored-By: Claude Opus 4.6 (1M context) --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fd5bf5f..ea54b9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,7 @@ WORKDIR /app/frontend COPY frontend/package.json frontend/package-lock.json ./ RUN npm ci COPY frontend/ ./ -RUN npm run build -# Output: /app/frontend/../backend/public → /app/backend/public +RUN npx vite build # ============================================================ # Stage 2: Build Backend (TypeScript → JavaScript)