What's Fixed
Docker build failure — postinstall scripts missing
The problem: Docker builds failed during npm install because the scripts/ directory (containing postinstall hooks) was copied after the install step. The COPY . . came too late — npm install --production needs scripts/ available at install time to run postinstall successfully.
The fix: Added COPY scripts/ ./scripts/ before RUN npm install --production in the Dockerfile. This ensures postinstall scripts are available when npm needs them, while still preserving Docker layer caching for package.json.
Who is affected
Only users deploying via Docker (docker compose up -d --build). Direct Node.js installations (npx, npm install -g, or git clone) were never affected.
Full Changelog: v5.25.8...v5.25.9