Skip to content

armgit / ARTEX

Public Imported from GitHub
0

ARTEX - AI autonomous penetration testing system (English translation; upstream: Autumn-27/ARTEX, AGPL-3.0)

build(web): disable Next.js telemetry in the web build stage

Luisef2538406360
diff --git a/Dockerfile b/Dockerfile
index 4e4a539..175d9e3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,6 +14,7 @@
# Pinned to the Node 22 line the CI/release workflows use. On the build platform
# only; the frontend static export is architecture-independent.
FROM --platform=$BUILDPLATFORM node:22-bookworm-slim AS web
+ENV NEXT_TELEMETRY_DISABLED=1
WORKDIR /src/web
COPY web/package.json web/package-lock.json ./
RUN npm ci --ignore-scripts