fix(docker): restore lockfile (npm 10) + npm ci for reliable builds

This commit is contained in:
MUH. IQRAM BAHRING
2026-08-15 08:07:59 +08:00
parent 3d10fd9611
commit 76b139b32c
3 changed files with 8211 additions and 4 deletions
+2 -2
View File
@@ -7,9 +7,9 @@ FROM base AS builder
RUN apk --no-cache upgrade && apk --no-cache add python3 make g++ linux-headers
COPY package.json ./
COPY package.json package-lock.json ./
RUN --mount=type=cache,target=/root/.npm \
npm install
npm ci
COPY . ./
ENV NEXT_TELEMETRY_DISABLED=1