Cannot copy file from host (Dockerfile COPY
)
#604
-
DescriptionRunning this:
I got this error from
The file exists in my macos:
and at lima:
|
Beta Was this translation helpful? Give feedback.
Answered by
AkihiroSuda
Jan 28, 2022
Replies: 1 comment 1 reply
-
You can't specify an abstract path in Dockerfile |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nebiros
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can't specify an abstract path in Dockerfile
COPY
.The path has to be a relative path inside the build context dir (defaults to the current dir).