From 362c94af33f0e86b1a485823bd2136297c106e4d Mon Sep 17 00:00:00 2001 From: Max Mayfield Date: Sun, 1 Mar 2026 19:31:44 +0000 Subject: [PATCH] Fix Node Dockerfiles: npm ci --include=dev so tsc is available in builder stage --- products/02-iac-drift-detection/saas/Dockerfile | 2 +- products/03-alert-intelligence/Dockerfile | 2 +- products/04-lightweight-idp/Dockerfile | 2 +- products/05-aws-cost-anomaly/Dockerfile | 2 +- products/06-runbook-automation/saas/Dockerfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/products/02-iac-drift-detection/saas/Dockerfile b/products/02-iac-drift-detection/saas/Dockerfile index 690069b..742aa8e 100644 --- a/products/02-iac-drift-detection/saas/Dockerfile +++ b/products/02-iac-drift-detection/saas/Dockerfile @@ -1,7 +1,7 @@ FROM node:22-slim AS builder WORKDIR /app COPY package.json package-lock.json* ./ -RUN npm ci +RUN npm ci --include=dev COPY . . RUN npm run build diff --git a/products/03-alert-intelligence/Dockerfile b/products/03-alert-intelligence/Dockerfile index 690069b..742aa8e 100644 --- a/products/03-alert-intelligence/Dockerfile +++ b/products/03-alert-intelligence/Dockerfile @@ -1,7 +1,7 @@ FROM node:22-slim AS builder WORKDIR /app COPY package.json package-lock.json* ./ -RUN npm ci +RUN npm ci --include=dev COPY . . RUN npm run build diff --git a/products/04-lightweight-idp/Dockerfile b/products/04-lightweight-idp/Dockerfile index 690069b..742aa8e 100644 --- a/products/04-lightweight-idp/Dockerfile +++ b/products/04-lightweight-idp/Dockerfile @@ -1,7 +1,7 @@ FROM node:22-slim AS builder WORKDIR /app COPY package.json package-lock.json* ./ -RUN npm ci +RUN npm ci --include=dev COPY . . RUN npm run build diff --git a/products/05-aws-cost-anomaly/Dockerfile b/products/05-aws-cost-anomaly/Dockerfile index 690069b..742aa8e 100644 --- a/products/05-aws-cost-anomaly/Dockerfile +++ b/products/05-aws-cost-anomaly/Dockerfile @@ -1,7 +1,7 @@ FROM node:22-slim AS builder WORKDIR /app COPY package.json package-lock.json* ./ -RUN npm ci +RUN npm ci --include=dev COPY . . RUN npm run build diff --git a/products/06-runbook-automation/saas/Dockerfile b/products/06-runbook-automation/saas/Dockerfile index 690069b..742aa8e 100644 --- a/products/06-runbook-automation/saas/Dockerfile +++ b/products/06-runbook-automation/saas/Dockerfile @@ -1,7 +1,7 @@ FROM node:22-slim AS builder WORKDIR /app COPY package.json package-lock.json* ./ -RUN npm ci +RUN npm ci --include=dev COPY . . RUN npm run build