Improve dependencies caching on Docker
This guarantees that dependencies are only downloaded when they change speeding up the build process.
It does it by not adding everything and then downloading the dependencies and only adding the go.mod
and go.sum
files first.