#DOCKERIZE
#BUILD docker build -t iris_classifier .
#RUN docker run --name iris -v /home/train/flask_ci_cd/saved_models:/app/saved_models -p 8082:8082 -d iris_classifier
{"SepalLengthCm":5.1, "SepalWidthCm":3.5, "PetalLengthCm":1.4 , "PetalWidthCm": 0.2}
{ "result": "[{"label":"Iris-setosa"}]" }
(venvspark) [train@localhost flask_ci_cd]$ curl localhost:8082/iris -H 'Content-Type: application/json' -XGET -d '{"SepalLengthCm":5.1, "SepalWidthCm":3.5, "PetalLengthCm":1.4 , "PetalWidthCm": 0.2}'
{"result":"[{\"label\":\"Iris-setosa\"}]"}