From 29e5af3b9414b96f4ad42f52df11ff632ab5f48a Mon Sep 17 00:00:00 2001 From: Fredrik Lundhag Date: Wed, 3 Jun 2026 14:22:08 +0200 Subject: [PATCH] Fix Docker build: copy patches/ before pnpm install (#37) pnpm reads patchedDependencies (readabilitySAX@1.6.1) at install time, but the patches/ directory was not copied into the image before 'pnpm install --frozen-lockfile', causing ENOENT and a failed build. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 2a53a1a07..bce48ded9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,7 @@ RUN corepack enable ## Utilize docker layer cache COPY package.json pnpm-lock.yaml pnpm-workspace.yaml /iframely/ +COPY patches/ /iframely/patches/ RUN pnpm install --frozen-lockfile --prod COPY . /iframely