I tried to put the docker file in all directories possible and I always get the same error from this command:
MacBook-Pro-Ayoub:~ ayoub$ docker build -f /Users/Dockerfile .
Error :
error checking context: ‘can’t stat ‘/Users/ayoub/.Trash’’.
There shouldn’t be a problem with the file itself because it’s a school work and no issues has been reported.
Thanks for your help.