From fbe68f347b2f6a7a2d779475da9f594fd8c34a1e Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Tue, 10 Feb 2026 21:53:50 +0100 Subject: [PATCH] ci: fix pnpm workspace detection by cleaning build environment --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7c06e380..81fb3692 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,9 @@ FROM registry.infra.mintel.me/mintel/nextjs:latest AS builder WORKDIR /app +# Clean the workspace in case the base image is dirty +RUN rm -rf ./* + # Arguments for build-time configuration ARG NEXT_PUBLIC_BASE_URL ARG NEXT_PUBLIC_TARGET