fix(docker): upgrade Node.js to v22 and pnpm to v11 to resolve build failure

pnpm 11.5.2 requires Node.js v22.13+ and uses node:sqlite module unavailable in Node.js v20.
Also switch to --no-frozen-lockfile temporarily for lockfile format migration compatibility.

🤖 Generated with [Qoder][https://qoder.com]
This commit is contained in:
2026-06-08 16:50:51 +08:00
parent e52cac7444
commit bbede5d164
6 changed files with 19 additions and 11 deletions

View File

@@ -22,7 +22,9 @@
"docker:ps": "docker compose -f docker-compose.prod.yml --env-file .env.docker ps",
"pack:deploy": "node pack.mjs"
},
"packageManager": "pnpm@11.5.2",
"engines": {
"node": ">=20"
"node": ">=22",
"pnpm": ">=11.0.0"
}
}