Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error while building my docker file #248

Open
kubeboss opened this issue Feb 25, 2019 · 0 comments
Open

Getting Error while building my docker file #248

kubeboss opened this issue Feb 25, 2019 · 0 comments

Comments

@kubeboss
Copy link

kubeboss commented Feb 25, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant