Closed consideRatio closed 3 years ago
General refactoring following best practices to the best of my knowledge.
rm -rf
apt-get upgrade
COPY .
Thanks, @consideRatio!
General refactoring following best practices to the best of my knowledge.
rm -rf
on apt-get stuffapt-get upgrade
to reduce known vulnCOPY .
statement breaking build cache non-stop and risked copying sensitive content that could end up pushed to a registry