I'm getting while trying to build 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
ERRO[0000] Can't add file /root/frontend/1.31.1-main.sock to tar: archive/tar: sockets not supported ERRO[0000] Can't add file /root/frontend/1.31.1-shared.sock to tar: archive/tar: sockets not supported Sending build context to Docker daemon 248MB 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-25T07_39_03_442Z-debug.log
The command '/bin/sh -c npm install' returned a non-zero code: 1
[root@kubeboss frontend]#
[root@kubeboss frontend]#