$ docker build -t pronto-image-classifer . --platform linux/amd64
$ docker run --name tf1 --platform linux/amd64 --publish 5000:5000 --rm pronto-image-classifer
$ curl -G -d img=https://prod-5929f14.s3.eu-north-1.amazonaws.com/accounts/136/files/ck5du6wwc006c07qx9j596su9 localhost:5000/api/predict
invalid parameters:https://prod-5929f14.s3.eu-north-1.amazonaws.com/accounts/136/files/ck5du6wwc006c07qx9j596su9 EX:[Errno 2] No such file or directory: 'fls/qx9j596su9.png'
$ curl -i -X POST -H "Content-Type: application/json" -d "{\"imgs\":[\"https://prod-c467854.s3.eu-north-1.amazonaws.com/accounts/128/files/3oXVxlCDCDjxnh9sPYA7g\",\"https://prod-5929f14.s3.eu-north-1.amazonaws.com/accounts/136/files/ck57u3urw001d07hd6lbe2ciz\"]}" localhost:5000/api/predict
HTTP/1.0 200 OK
Content-Type: text/html; charset=utf-8
Content-Length: 250
Server: Werkzeug/2.0.1 Python/3.8.11
Date: Fri, 30 Jul 2021 09:31:12 GMT
invalid parameters: {'imgs': ['https://prod-c467854.s3.eu-north-1.amazonaws.com/accounts/128/files/3oXVxlCDCDjxnh9sPYA7g', 'https://prod-5929f14.s3.eu-north-1.amazonaws.com/accounts/136/files/ck57u3urw001d07hd6lbe2ciz']} EX:name 'time' is not defined