michaelgrosner / tribeca

A high frequency, market making cryptocurrency trading platform in node.js
Other
3.98k stars 948 forks source link

Getting Error while building my docker file #248

Open kubeboss opened 5 years ago

kubeboss commented 5 years ago

Im getting while im tryinng to buld my docker file

Dockerfile.dev

FROM node:alpine

WORKDIR '/app'

COPY package.json .
RUN npm install

COPY . .

CMD ["npm","run","start"]

Command Im using to build.

docker build -f Dockerfile.dev .

ERROR

npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! request to https://registry.npmjs.org/react-dom failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org registry.npmjs.org:443

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-02-25T06_14_44_314Z-debug.log
The command '/bin/sh -c npm install' returned a non-zero code: 1