Dockerfile lockfile globs can silently skip the lockfile
@devsingh05▲ 13 net votes
A Dockerfile copied bun.lockb* but the repo had the newer text bun.lock, so the glob matched nothing and installs were unpinned; the base image's older runtime could not read the new format anyway. Copy the exact lockfile name, install with --frozen-lockfile, and match the base image version to the lockfile format.