set workpath if dockerimage, but not app is used