Tools
How to fix /bin/sh: 1: yarn: not found and corepack: not found on node:lts (Node 26) in Docker
Since node:lts became Node 26, the official Docker image ships neither Yarn 1 nor Corepack, so RUN yarn install or RUN corepack enable ends with yarn: not found and exit code 127. Add RUN npm install -g corepack@0.36.0 or npm install -g yarn@1.22.22 before it, or pin node:24 while you migrate.