DONE: remove cypress install for prod
Build Docker Image / build-backend (push) Successful in 8s
Build Docker Image / build-frontend (push) Failing after 16s

This commit is contained in:
ISMAIL MASSERAN
2026-06-30 11:25:56 +08:00
parent 6204ec0d70
commit 4100d5ce19
2 changed files with 7 additions and 1 deletions
+4 -1
View File
@@ -2,7 +2,10 @@
FROM node:22 AS builder
WORKDIR /app
COPY fe/package*.json fe/pnpm-lock.yaml ./
RUN npm install -g pnpm && pnpm install --frozen-lockfile
# Skip prepare (cypress install); rebuild esbuild only — required for Vite
RUN npm install -g pnpm && \
pnpm install --frozen-lockfile --ignore-scripts && \
pnpm rebuild esbuild
COPY fe/ ./
ARG VITE_API_BASE_URL=https://api.koppkb.com
ARG VITE_APP_URL=https://anggota.koppkb.com