tribeca
tribeca copied to clipboard
Getting Error while building my docker file
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