Full document, spreadsheet, slideshow, and diagram tooling
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: install tsx+typescript in production Docker image for TS server

The previous Dockerfile fix installed tsx but npm ci --omit=dev
removed it. Now explicitly installs tsx and typescript after
production deps so the server can run from TypeScript source.

+3 -3
+3 -3
Dockerfile
··· 18 18 19 19 WORKDIR /app 20 20 21 - # Install production dependencies (includes tsx for TypeScript execution) 21 + # Install production dependencies + tsx for TypeScript server execution 22 22 COPY package.json package-lock.json ./ 23 - RUN npm ci --omit=dev && npm install tsx 23 + RUN npm ci --omit=dev && npm install --no-save tsx typescript 24 24 25 - # Copy built frontend and server 25 + # Copy built frontend, server source, and tsconfig 26 26 COPY --from=build /app/dist ./dist 27 27 COPY server/ ./server/ 28 28 COPY tsconfig.json tsconfig.server.json ./