From 1c86cd5fecbfb1784460b5b9b006806d263985ed Mon Sep 17 00:00:00 2001 From: Randi <55005611+rdself@users.noreply.github.com> Date: Sun, 26 Apr 2026 14:58:52 -0400 Subject: [PATCH] [Urgent] fix: include npm config in Docker install layer (#1630) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix: include NPM_CONFIG_LEGACY_PEER_DEPS in Docker builder layer — integrated into release/v3.7.1 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f23fded2f1..a1f1851657 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ COPY package*.json ./ COPY scripts/postinstall.mjs ./scripts/postinstall.mjs COPY scripts/postinstallSupport.mjs ./scripts/postinstallSupport.mjs COPY scripts/native-binary-compat.mjs ./scripts/native-binary-compat.mjs -COPY scripts/postinstallSupport.mjs ./scripts/postinstallSupport.mjs +ENV NPM_CONFIG_LEGACY_PEER_DEPS=true RUN if [ -f package-lock.json ]; then npm ci --no-audit --no-fund; else npm install --no-audit --no-fund; fi COPY . ./