You can tell pip to use this pip.conffile in the install-command field inside serving.yaml:
kind:Modelname:linear_regressionruntime:"hydrosphere/serving-runtime-python-3.7:$2.4.2$"install-command:"PIP_CONFIG_FILE=pip.conf pip install -r requirements.txt"payload: - "src/" - "requirements.txt" - "pip.conf"# location of your pip.conf - "cert.pem"# location of your certificate. It'll be available under /model/files/cert.pem - "model.h5"contract:name:inferinputs:x:shape: [-1,2]type:doubleoutputs:y:shape: [-1]type:double