The docker supports it.
docker build -t app:latest . --build-context src=/another/app/dir