Layer Caching Optimization Test

Question 1 of 4

Why should you COPY dependency manifests (package.json, requirements.txt) before copying source code in a Dockerfile?

Tip: Press 1-4 on keyboard to select.