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 <noreply@anthropic.com>
This commit is contained in:
Matthias Hochmeister
2026-03-01 14:04:02 +01:00
parent 67ea0ba1f6
commit b54e400c48
2 changed files with 2 additions and 1 deletions

1
sync/.npmrc Normal file
View File

@@ -0,0 +1 @@
registry=https://registry.npmjs.org/

View File

@@ -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