Why should you pin base image versions in `FROM`?
BeginnerConceptDockerfile Instructions & Builds
Answer
FROM node:latest changes under you, breaking reproducibility and builds. Pin a version (node:22.11-bookworm-slim) and ideally a digest (node:22.11-bookworm-slim@sha256:...); update through Renovate or Dependabot so upgrades are deliberate and reviewed.