Force drift rebuild: add CACHE_BUST build arg to Dockerfile + docker-compose
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
FROM node:22-slim AS builder
|
||||
WORKDIR /app
|
||||
ARG CACHE_BUST=1
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm ci --include=dev
|
||||
COPY . .
|
||||
|
||||
@@ -57,6 +57,8 @@ services:
|
||||
build:
|
||||
context: ./01-llm-cost-router
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
CACHE_BUST: "2026-03-01-2300"
|
||||
command: ["dd0c-api"]
|
||||
ports:
|
||||
- "3001:3000"
|
||||
@@ -108,6 +110,8 @@ services:
|
||||
build:
|
||||
context: ./02-iac-drift-detection/saas
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
CACHE_BUST: "2026-03-01-2300"
|
||||
ports:
|
||||
- "3002:3000"
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user