node-webapp is documented as using a repository-provided Dockerfile, but generate_dockerfile.sh overwrites it with a generated distroless image. This bypasses application runtime contracts and currently causes Trivy HIGH findings in the generated Debian base.
Expected
Allow node-webapp consumers to opt into preserving and building their repository Dockerfile, fail clearly when the file is missing, and cover the behavior with tests.
## Problem
`node-webapp` is documented as using a repository-provided Dockerfile, but `generate_dockerfile.sh` overwrites it with a generated distroless image. This bypasses application runtime contracts and currently causes Trivy HIGH findings in the generated Debian base.
## Expected
Allow `node-webapp` consumers to opt into preserving and building their repository Dockerfile, fail clearly when the file is missing, and cover the behavior with tests.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
node-webappis documented as using a repository-provided Dockerfile, butgenerate_dockerfile.shoverwrites it with a generated distroless image. This bypasses application runtime contracts and currently causes Trivy HIGH findings in the generated Debian base.Expected
Allow
node-webappconsumers to opt into preserving and building their repository Dockerfile, fail clearly when the file is missing, and cover the behavior with tests.