[P17] Harden api image — apt upgrade, non-root, HEALTHCHECK #126
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Refs #117 (6 HIGH)
apt-get upgrade -yto patch bookworm-slim CVEsUSER 1000to run as non-rootHEALTHCHECK CMD curl -sf http://localhost:8000/health || exit 1Close #117 only after hardened image builds and scans clean.