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
+1
-2
@@ -85,5 +85,4 @@ graphify-out/*
|
|||||||
.script/
|
.script/
|
||||||
.codegraph/
|
.codegraph/
|
||||||
.PR/
|
.PR/
|
||||||
.next-analyze/*
|
.next-analyze/*
|
||||||
package-lock.json
|
|
||||||
+2
-2
@@ -7,9 +7,9 @@ FROM base AS builder
|
|||||||
|
|
||||||
RUN apk --no-cache upgrade && apk --no-cache add python3 make g++ linux-headers
|
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 \
|
RUN --mount=type=cache,target=/root/.npm \
|
||||||
npm install
|
npm ci
|
||||||
|
|
||||||
COPY . ./
|
COPY . ./
|
||||||
ENV NEXT_TELEMETRY_DISABLED=1
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
|
|||||||
Generated
+8208
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user