I run a Docker build, using a Dockerfile to build an image. But I get an error on npm install:
Dockerfile :
# Download Runnable-web Repo
RUN eval $(ssh-agent) > /dev/null && ssh-add /.ssh/id_rsa && git clone git@github.com:CodeNow/runnable-web.git
WORKDIR runnable-web
RUN npm install
RUN bower install --allow-root
Error:
Step 5 : RUN npm install
---> Running in 3fefdf5af71d
npm ERR! install Couldn't read dependencies
npm ERR! Error: ENOENT, open '/runnable-web/package.json'
If you need help, you may report this log at:
<http://github.com/isaacs/npm/issues>
or email it to:
<npm-@googlegroups.com>
Linux 3.13.0-24-generic
"/usr/local/bin/node" "/usr/local/bin/npm" "install"