Standalone image bulds failing because of use of non-absolute paths/missing WORKDIR

See https://gitlab.cern.ch/cms-cloud/cmssw-docker/-/jobs/24473982

Apparently this is due to the change we introduced last week @mccauley - could you please have a look?