MEDIUM
Source
Trivy
ID
AVD-DS-0013

‘RUN cd …’ to change directory

Use WORKDIR instead of proliferating instructions like ‘RUN cd … && do-something’, which are hard to read, troubleshoot, and maintain.

Impact