From f559313eaee7b09329445e61455de49989ac0d93 Mon Sep 17 00:00:00 2001 From: Matthias Hochmeister Date: Sun, 1 Mar 2026 13:42:37 +0100 Subject: [PATCH] fix: use public npm registry in sync builder to avoid Apple registry failures npm.apple.com causes silent install failures for devDependencies inside the Docker build context. Explicitly use registry.npmjs.org for the builder stage. Co-Authored-By: Claude Sonnet 4.6 --- sync/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync/Dockerfile b/sync/Dockerfile index 0474918..f0d5f20 100644 --- a/sync/Dockerfile +++ b/sync/Dockerfile @@ -2,7 +2,7 @@ FROM node:20-slim AS builder WORKDIR /app COPY package.json package-lock.json ./ -RUN NODE_ENV=development npm install && ls node_modules/.bin/tsc && echo "tsc OK" +RUN NODE_ENV=development npm install --registry https://registry.npmjs.org COPY tsconfig.json ./ COPY src ./src RUN ./node_modules/.bin/tsc && npm prune --production