From a07b0cefa131821f2212583e1dd339b7779ad502 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sun, 8 Feb 2026 15:57:41 +0100 Subject: [PATCH] fix: deploy --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a1caa81..98c2dba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,9 @@ FROM registry.infra.mintel.me/mintel/nextjs:latest AS builder WORKDIR /app +# Ensure we are in a clean environment and remove any stale files from the base image +RUN rm -rf packages apps pnpm-workspace.yaml 2>/dev/null || true + # Build-time environment variables for Next.js ARG NEXT_PUBLIC_BASE_URL ARG UMAMI_API_ENDPOINT @@ -32,7 +35,7 @@ COPY apps/web/package.json ./apps/web/package.json RUN --mount=type=cache,id=pnpm,target=/pnpm/store \ --mount=type=secret,id=NPM_TOKEN \ export NPM_TOKEN=$(cat /run/secrets/NPM_TOKEN) && \ - pnpm install --frozen-lockfile + pnpm install --no-frozen-lockfile # Copy source COPY . .