Dockerfile review
Check each item and report only the ones that fail, with the line number:
- The base image has an explicit tag or digest, not
latest. - Dependency manifests are copied and installed before the application source.
apt-get installis followed by removal of the package lists in the same layer.- The final stage runs as a non-root user.