Added function which removes image based on ids in json file.
Also added and tested the Dockerfile
The images are currently copied to the container and removed from there. Later on the path to the images will point to a database, I assume.
I don't like that I created a new python file just with the removal function.
Is it a cleaner option if I move the function to utils.py and then in the Dockerfile run the function with
python -c 'import utils; utils.remove_panoramas()'?
Added function which removes image based on ids in json file. Also added and tested the Dockerfile
The images are currently copied to the container and removed from there. Later on the path to the images will point to a database, I assume.
I don't like that I created a new python file just with the removal function. Is it a cleaner option if I move the function to
utils.py
and then in the Dockerfile run the function withpython -c 'import utils; utils.remove_panoramas()'
?