From b54e400c483ac200d090e4a33418fd61c0755013 Mon Sep 17 00:00:00 2001 From: Matthias Hochmeister Date: Sun, 1 Mar 2026 14:04:02 +0100 Subject: [PATCH] fix: add .npmrc to sync service to use public npm registry The server has an Apple npm proxy that silently drops devDependencies. Copying the same .npmrc fix used by the frontend (registry=registry.npmjs.org) resolves the issue. Co-Authored-By: Claude Sonnet 4.6 --- sync/.npmrc | 1 + sync/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 sync/.npmrc diff --git a/sync/.npmrc b/sync/.npmrc new file mode 100644 index 0000000..5660f81 --- /dev/null +++ b/sync/.npmrc @@ -0,0 +1 @@ +registry=https://registry.npmjs.org/ \ No newline at end of file diff --git a/sync/Dockerfile b/sync/Dockerfile index 68392f7..e1b3f1b 100644 --- a/sync/Dockerfile +++ b/sync/Dockerfile @@ -3,7 +3,7 @@ FROM node:20-alpine AS builder WORKDIR /app ENV PATH="/app/node_modules/.bin:$PATH" RUN apk add --no-cache python3 make g++ -COPY package*.json ./ +COPY package*.json .npmrc ./ RUN npm ci --include=dev COPY tsconfig.json ./ COPY src ./src