I got the same problem. I go to make a new folder then
git clone https://github.com/mendix/docker-mendix-buildpack.git
after that i run docker build --build-arg BUILD_PATH=./DashboardUImain -t dbv002 .
and it success to deploy.