SyntaxFix
Write A Post
Hire A Developer
Questions
The solution for those who use composer is to use a volume pointing to the parent folder:
#docker-composer.yml foo: build: foo volumes: - ./:/src/:ro
But I'm pretty sure the can be done playing with volumes in Dockerfile.