Switch from node:24-alpine to gcr.io/distroless/nodejs20-debian12:nonroot for enhanced security and reduced attack surface. Distroless images contain only runtime dependencies without shell, package managers, or other utilities. Changes: - Use distroless nodejs20-debian12:nonroot base image - Remove manual user creation (use built-in nonroot user) - Remove RUN commands for directory creation (incompatible with distroless) - Update file ownership to nonroot:nonroot 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1.6 KiB
1.6 KiB