fix: remove --ignore-scripts from npm install in sync builder

--ignore-scripts prevented @types/* packages from being installed,
causing tsc to fail on missing type definitions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Matthias Hochmeister
2026-03-01 13:48:32 +01:00
parent fad71d32fe
commit acd1506df8

View File

@@ -3,7 +3,7 @@ FROM node:20-slim AS builder
WORKDIR /app
RUN npm install -g typescript --registry https://registry.npmjs.org
COPY package.json package-lock.json ./
RUN npm install --registry https://registry.npmjs.org --ignore-scripts
RUN npm install --registry https://registry.npmjs.org
COPY tsconfig.json ./
COPY src ./src
RUN tsc && npm prune --production --registry https://registry.npmjs.org