The transfer -v ~/.config:/root/.configshould make it work. This assumes that your local code uses the default credentials for the application stored gcloud auth loginin ~ / .config / gcloud, and that the user's home directory is in the / root container.
source
share