[a5e8ec]: / prediction_api / README.md

Download this file

17 lines (13 with data), 462 Bytes

Prediction System API

Build and run the docker image
(change the port inside the dockerfile if needed)

docker build -t ap_predictions .
docker run -d -p 8080:8080 ap_predictions

to check if server is running correctly send a GET request to /healthcheck

curl http://localhost:8080/healthcheck

Now the /predict endpoint is available and you can run the main script \
back