Docker build is failing on nom install when it try to install dependency from git

I have a node application which i am dockerizing. This application has a dependency of the other application that i created and i am including that under dependencies using git_ssh://url.

When i try to build the docker image, it is failing with exit code 128. How to write the docker file to provide the git access to docker image?