From f31525af8198d07d845bc3b4629be5d850e3134e Mon Sep 17 00:00:00 2001 From: "Oleksandr (Shev) Shevchuk" Date: Mon, 17 Aug 2026 18:01:34 +0200 Subject: [PATCH] fix(mm): ship pnpm-workspace.yaml into the Docker deps stage pnpm 11 stopped reading build allowances from package.json and turned ignored build scripts into a hard install error. The allowances were moved to market-maker/pnpm-workspace.yaml, but the deps stage only copies package.json and pnpm-lock.yaml, so `pnpm install --frozen-lockfile --prod` still aborted with ERR_PNPM_IGNORED_BUILDS and no image was published. That left the dev market-maker pinned to a 10-day-old image whose futures own-order bootstrap still calls the removed `getUserOrders`, quarantining every futures expiry. --- market-maker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/market-maker/Dockerfile b/market-maker/Dockerfile index 1c817c0..86d3880 100644 --- a/market-maker/Dockerfile +++ b/market-maker/Dockerfile @@ -5,7 +5,9 @@ WORKDIR /app RUN corepack enable -COPY package.json pnpm-lock.yaml ./ +# pnpm-workspace.yaml carries the allowBuilds allowances; pnpm 11 treats ignored +# build scripts as a hard install error, so it must be present before install. +COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./ RUN pnpm install --frozen-lockfile --prod # ── Runtime ───────────────────────────────────────────────────────────────────