fix: skip tsc in frontend Docker build, use vite build directly
Build & Deploy Tippspiel / build (push) Has been cancelled
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:
+1
-2
@@ -7,8 +7,7 @@ WORKDIR /app/frontend
|
|||||||
COPY frontend/package.json frontend/package-lock.json ./
|
COPY frontend/package.json frontend/package-lock.json ./
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
COPY frontend/ ./
|
COPY frontend/ ./
|
||||||
RUN npm run build
|
RUN npx vite build
|
||||||
# Output: /app/frontend/../backend/public → /app/backend/public
|
|
||||||
|
|
||||||
# ============================================================
|
# ============================================================
|
||||||
# Stage 2: Build Backend (TypeScript → JavaScript)
|
# Stage 2: Build Backend (TypeScript → JavaScript)
|
||||||
|
|||||||
Reference in New Issue
Block a user