chore(docker): add CACHE_BUST arg to force clean builds
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -10,6 +10,8 @@ COPY .npmrc package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
|||||||
RUN pnpm install --frozen-lockfile --ignore-scripts
|
RUN pnpm install --frozen-lockfile --ignore-scripts
|
||||||
|
|
||||||
# ── builder ─────────────────────────────────────────────────────────────────
|
# ── builder ─────────────────────────────────────────────────────────────────
|
||||||
|
# Bust cache when needed: docker build --build-arg CACHE_BUST=$(date +%s)
|
||||||
|
ARG CACHE_BUST=1
|
||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENV PRISMA_CLI_BINARY_TARGETS=linux-musl-openssl-3.0.x
|
ENV PRISMA_CLI_BINARY_TARGETS=linux-musl-openssl-3.0.x
|
||||||
|
|||||||
Reference in New Issue
Block a user