I have following line in my dockerfile
COPY /root/url.net/volumes/persistent/url/root /usr/share/nginx/html
When I try to build the image with docker-compose I get
Service 'frontend' failed to build: lstat /root/url.net/volumes/persistent/url/root: no such file or directory
I can cd from anywhere to /root/url.net/volumes/persistent/url/root with no problem on my machine.
How can I specify the absolute path of the folder in the dockerfile?