npm install throwing EHOSTUNREACH 
**Describe the bug**
I was trying to deploy my project using Dockerfile.When I am running my dockerfile,it is failing while trying to run npm install.
It shows Connect:EHOSTUNREACH with a ip


**To Reproduce**
To reproduce needs to add following commands in Docker file
FROM Node:12.18.2
WORKDIR src/app
COPY package*.json ./
RUN node -v
RUN npm -v
RUN npm install

**Expected behavior**
It should install the all the dependencies.I also have package.json present.

**Screenshots**
![image](https://user-images.githubusercontent.com/69675299/90242039-e5f15a00-de49-11ea-9508-7c10b0e7a867.png)


**Additional context**
It is also showing same error when I am trying to do npm install for angular cli.I also verifed the node and npm version that is showing version correctly.