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 ysilvela/predictionio-docker /bin/bash
Or create your own deployable docker container:
FROM ysilvela/predictionio-docker
ADD MyEngine /MyEngine
EXPOSE 8000
ADD run.sh /run.sh
ENTRYPOINT /run.sh
Then you need to download your preferred template from https://templates.prediction.io/
and run.sh:
#!/bin/bash
set -e
pio-start-all
cd /MyEngine
pio build --verbose
pio deploy