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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user