From 4532cc6708677b282ce356e5bcb9ab4d1d902954 Mon Sep 17 00:00:00 2001 From: Jannis Braun <151788261+TheZwiss@users.noreply.github.com> Date: Sun, 22 Mar 2026 23:54:17 +0100 Subject: [PATCH] fix: copy patches directory in Dockerfile before pnpm install The uiohook-napi patch is referenced in pnpm-lock.yaml and must be present before pnpm install runs in both builder and runtime stages. --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7b94c21b..cf27baf6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,9 @@ COPY packages/shared/package.json packages/shared/ COPY packages/server/package.json packages/server/ COPY packages/web/package.json packages/web/ +# Copy patches (referenced by pnpm-lock.yaml) +COPY patches/ patches/ + # Install dependencies RUN pnpm install --frozen-lockfile || pnpm install @@ -51,6 +54,9 @@ COPY packages/shared/package.json packages/shared/ COPY packages/server/package.json packages/server/ COPY packages/web/package.json packages/web/ +# Copy patches (referenced by pnpm-lock.yaml) +COPY patches/ patches/ + # Install production dependencies only (plus tsx for running TS) RUN pnpm install --frozen-lockfile || pnpm install