PredictionIO docker container
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 -p 8000:8000 sphereio/predictionio /bin/bash
Then in container
$ pio-start-all
$ pio status
####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