Below it is my docker-compose, now i can build the container, but I cannot load the file in Datasets into the application, the error says that it cannot find the file specified
version: '3.8'
services:
finder-intelligence:
build: .
image: finder_ai:latest
volumes:
- type: bind
source: mydata
target: /mnt/Datasets
volume:
nocopy: false
volumes:
mydata:
driver: local
driver_opts:
o: bind
type: none
device: /mnt/Datasets
2
Answers
in the end the compose file was fine, my mistake, due to inexperience, i was running docker run instead of docker-compose run
Try to just pass it as: