Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 874 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 874 Bytes

PredictionIO docker container

Docker container for PredictionIO-based machine learning services

Docker build

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