fix: skip tsc in frontend Docker build, use vite build directly
Build & Deploy Tippspiel / build (push) Has been cancelled

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) <noreply@anthropic.com>
This commit is contained in:
Ronny
2026-04-06 10:28:00 +02:00
parent 41a21b5606
commit f500f5f900
+1 -2
View File
@@ -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)