Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Latest commit

 

History

History
50 lines (33 loc) · 958 Bytes

README.md

File metadata and controls

50 lines (33 loc) · 958 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 -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