Docker container for PredictionIO-based machine learning services
PredictionIO is an open-source Machine Learning server for developers and data scientists to build and deploy predictive applications in a fraction of the time.
This container uses Apache Spark, HBase and Elasticsearch. Use it interactively for development:
$ docker run -it -v $HOME/MyEngine:/MyEngine sphereio/predictionio /bin/bash
Or create your own deployable docker container:
FROM sphereio/predictionio
ADD MyEngine /MyEngine
EXPOSE 8000
ADD run.sh /run.sh
ENTRYPOINT /run.sh
and run.sh:
#!/bin/bash
set -e
pio-start-all
cd /MyEngine
pio build --verbose
pio deploy