Dockerfile: optimize caching

Optimize caching by only adding the file necessary for `build.sh`