REST API new user question

Trying to get BERT QA working via REST API. Suggestions? Got basic container running with docs endpoint. Trying to do:

from deeppavlov import build_model, configs

model_qa = build_model(configs.squad.squad_bert, download=True)
model_qa(["School holidays were spent at home."],
         ["Where were school holidays spent?"])

Did this:

docker run -e CONFIG=ner_ontonotes_bert_mult -p 5555:5000 -v dockerComponents -v venv deeppavlov/base-cpu

Runs fine on my macbook. Trying to connect to REST rather than in python.