Property
Languageterraform
Severitycritical
Vulnerability Typeomission

Description#

The Dockerfile uses COPY –from to reference the current build stage alias, attempting to copy files from itself, which is not supported and results in build failures. This misconfiguration prevents proper multi-stage builds and can interrupt the image creation process.

Impact#

If present, this issue causes Docker builds to fail, halting deployments and potentially delaying application delivery. It may block security or functionality updates, disrupt CI/CD pipelines, and increase operational risk due to incomplete or missing container images.

Resolution#

Change the ‘–from’ so that it will not refer to itself