fix(docker): restore lockfile (npm 10) + npm ci for reliable builds
This commit is contained in:
1 parent
3d10fd9611
commit
76b139b32c
3 files changed
+8211
-4
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user