chore: bump Dockerfile base to node:24-alpine and add git for npm git-URL deps #10
Reference in New Issue
Block a user
Delete Branch "chore/dockerfile-git-and-node24"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes nanodrop deploy CI failing on
npm ci. Two changes in one diff:gitto apk install.npm ciresolvesbchen-sqlite-migrate@git+https://gitea.bchen.dev/...(package.json:26) which requiresgitto clone.node:22-alpine(andnode:24-alpine) ship without it, so the build failed with the misleadingtarball … seems to be corruptedwarning followed byENOENT spawn git.node:22-alpine→node:24-alpine. Aligns with authd's stack and avoids npm-10's EBADPLATFORM trap on nested@esbuild/*optional deps (latent in nanodrop's lockfile today).Companion to authd PR #16 (which only needed the
gitadd; authd was already on node:24-alpine). buchinese needs the same fix; tracked separately in~/bugs.md.Verifications
better-sqlite3@^12.6.2,bcrypt@^6.0.0,fastify@^5.7.4,tsx@^4.21.0all ship Node-24 prebuilds or are pure JS — no version bumps required.bchen-sqlite-migrateto commit SHA7dbce6637c…(good supply-chain hygiene).src/has zerochild_process/spawn/execcallsites — addinggitto the runtime image does not give app code a new shell-out primitive.