DONE: disable type-check for a while
Build Docker Image / build-backend (push) Successful in 10s
Build Docker Image / build-frontend (push) Failing after 28s

This commit is contained in:
ISMAIL MASSERAN
2026-06-30 11:38:59 +08:00
parent 4100d5ce19
commit 9bc0d54ef4
3 changed files with 4 additions and 5 deletions
+1
View File
@@ -0,0 +1 @@
only-built-dependencies[]=esbuild
+3 -2
View File
@@ -1,7 +1,7 @@
# Stage 1: Build Vue SPA
FROM node:22 AS builder
WORKDIR /app
COPY fe/package*.json fe/pnpm-lock.yaml ./
COPY fe/package*.json fe/pnpm-lock.yaml fe/.npmrc ./
# Skip prepare (cypress install); rebuild esbuild only — required for Vite
RUN npm install -g pnpm && \
pnpm install --frozen-lockfile --ignore-scripts && \
@@ -11,7 +11,8 @@ ARG VITE_API_BASE_URL=https://api.koppkb.com
ARG VITE_APP_URL=https://anggota.koppkb.com
ENV VITE_API_BASE_URL=$VITE_API_BASE_URL
ENV VITE_APP_URL=$VITE_APP_URL
RUN pnpm run typecheck && pnpm exec vite build --mode=production
# RUN pnpm run typecheck # uncomment this to run typecheck
RUN pnpm exec vite build --mode=production
# Stage 2: Serve static files
FROM nginx:1.27-alpine
-3
View File
@@ -91,8 +91,5 @@
"vite-plugin-vue-devtools": "^8.0.5",
"vitest": "^4.0.16",
"vue-tsc": "^3.2.1"
},
"pnpm": {
"onlyBuiltDependencies": ["esbuild"]
}
}