DONE: remove cypress install for prod

This commit is contained in:
ISMAIL MASSERAN
2026-06-30 11:25:56 +08:00
parent 76e953f550
commit f24ec60c36
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