The host-side docker-compose mounts secrets/ and data/ read-only at runtime, but the build context still slurped them in. Add secrets/, data/, and general SSH key patterns (*.pem, *.key, id_rsa*, id_ed25519*, known_hosts, .ssh/) so private material can never be baked into the image even by accident.
192 B
192 B