fix(docker): bust cache to rebuild with correct SUPABASE_URL
CACHE_BUST=1→2 forces Docker to re-run 'pnpm install' and 'next build' so NEXT_PUBLIC_SUPABASE_URL=https://myeasycms.frontieralgorithmics.de gets baked into the client-side JS bundle.
This commit is contained in:
@@ -4,7 +4,7 @@ WORKDIR /app
|
|||||||
|
|
||||||
# --- Install + Build in one stage ---
|
# --- Install + Build in one stage ---
|
||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
ARG CACHE_BUST=1
|
ARG CACHE_BUST=2
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN pnpm install --no-frozen-lockfile
|
RUN pnpm install --no-frozen-lockfile
|
||||||
ENV NEXT_TELEMETRY_DISABLED=1
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
|
|||||||
Reference in New Issue
Block a user