Try escaping $HOME and $PATH in the Dockerfile