Openoffice or libreoffice installl

I'm wanting to install either OpenOffice or LibreOffice(CODE) in OwnCloud 9.0.6 I have downloaded the docker file and tried setting it up, but get stuck when trying to change URL. These office suites, both of them, want to use subdomain.domain.tld and I'm wanting to use www. domain.tld/ office . Can someone help me with this?

AFAIK there is no way around a subdomain for such setup.