In the (docker) container world, we should use cve scanners like Trivy (free) or JFrog Xray to scan for known vulnerabilities.
In most cases, this just works.
But it typically does not work for statically compiled and minified JavaScript apps like Angular or React apps.
This is how to make your minified frontend app scannable with common scanners.
In my tests during september 2025, this worked for: