Fixed Dockerfile order
Ensure target does not exist before moving a temp dir