I want to install additional python libraries in a running container via **pip**. The reason why I use this way instead of building a container which have already be installed this library, is that my docker image needs to be small.

I have tried to open ports 8080, 3128 and 443. The yaml entries are as follows:

```
ports: 
- containerPort: 8080 
  name: http 
  protocol: TCP
- containerPort: 3128
  name: http 
  protocol: TCP
- containerPort: 443
  name: http 
  protocol: TCP

```

However, pip is not able to connect with the pypi server.

What port do I have to add? Or did I miss anything else?