Npm install failed from github url dependency

I have a package.json used when doing a docker build command.
The package.json has a dependency like the following:
“foorepo”: "organization/foorepo

The docker build output looks like the following:
npm ERR! Linux 3.13.0-83-generic
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” "install"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ENOGIT

npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.

Isn’t the git command available in the current process?

You’re going to need to have git credentials inside your container if that is a private git repo

Just noticed the problem is git is missing. What does your Dockerfile look like?

Here is essentially what the Dockerfile looks:

ADD byuapi-node /opt/webroot/byuapi-node
WORKDIR /opt/webroot/byuapi-node
RUN npm install
CMD npm run-script developer```