allenai / deep_qa

A deep NLP library, based on Keras / tf, focused on question answering (but useful for other NLP too)
Apache License 2.0
404 stars 132 forks source link

Add dockerfile to contain the python service. #110

Closed ckarenz closed 8 years ago

ckarenz commented 8 years ago

In order to run this, issue a command like the following from the root of the source tree:

docker build -t deep_qa .
docker run -d --rm -p 50051:50051 --name deep_qa deep_qa <your_model_file_path>
# ... run Scala code which attaches to the service ...
docker stop deep_qa

I'll write up instructions in a separate change once we've solidified how we want this to work.