Browsing: Dockerfile

Build container images that are small, reproducible and hard to abuse: choose and pin base images by digest, split build and runtime with multi-stage builds, run as a non-root user, pass credentials with BuildKit secrets instead of ARG or ENV, keep .env files out with .dockerignore, and enforce it all with docker build checks, hadolint and Trivy in GitHub Actions.