Came across a docker run command that uses -w flag.
docker run -v $(pwd):/project \\ -w /project \\ -p 8081:8081 \\ gcr.io/base-pro