It is silly to add the source code before installing the dependencies, since then developers have to wait for the dependencies to be re-installed every time they modify the source code. Rearranging the Dockerfile leads to a tighter development cycle.
It is silly to add the source code before installing the dependencies, since then developers have to wait for the dependencies to be re-installed every time they modify the source code. Rearranging the Dockerfile leads to a tighter development cycle.