debug: verify tsc presence after npm install in sync builder
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
FROM node:20-slim AS builder
|
FROM node:20-slim AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
RUN NODE_ENV=development npm install
|
RUN NODE_ENV=development npm install && ls node_modules/.bin/tsc && echo "tsc OK"
|
||||||
COPY tsconfig.json ./
|
COPY tsconfig.json ./
|
||||||
COPY src ./src
|
COPY src ./src
|
||||||
RUN ./node_modules/.bin/tsc && npm prune --production
|
RUN ./node_modules/.bin/tsc && npm prune --production
|
||||||
|
|||||||
Reference in New Issue
Block a user