17down votefavorite 4 |
In my
That file exists as
Does somebody know why and how to do it correctly?
|
||||
|
3 Answers
up vote21down voteaccepted |
Unfortunately, (for practical and security reasons I guess), if you want to add/copy local content, it must be located under the same root path than the From the documentation:
EDIT: There‘s now an option (
|
||||||||||||
|
up vote8down vote |
You can build the Dockerfile from the parent directory:
|
||||||||||||||||
|
up vote0down vote |
The solution for those who use composer is to use a volume pointing to the parent folder:
But I‘m pretty sure the can be done playing with volumes in Dockerfile.
|