PENDING.
In order to use the API with docker the first step is to build the image with the next command, executing it from the code folder.
docker build -t [name_for_image] .
Then use the image with this last command.
docker run --rm -v [project_route]:/app -p 5001:5001 [name_for_image]
For examples on how to use the app, here is a way to test it with curl (you'll need to have the files in the route you are executing it).
For a single file in /examples:
curl -X POST -F files=@'mask4.jpg' http://127.0.0.1:5001/thermal_model
For multiple files in /examples:
curl -X POST -F files=@'mask4.jpg' -F files=@'mask5.jpg' -F files=@'mask1.jpg' -F files=@'no_mask1.jpg' http://127.0.0.1:5001/thermal_model