Change config folder on Home Assistant Core installed on Raspberry Pi OS (run on Docker)

I installed Home Assistant Core installed on Raspberry Pi OS (run on Docker) but I have wrong config folder path on installation process. I have set /home/pi/homeassistant but I need /home/MYUSERNAME/homeassistant. Is there I way to change config folder on Home Assistant and the copy/paste file from old to new files?

I’d like avoid to reinstall all.

To clarify…

You are running a HA Container install method correct?

If so then just modify the Docker run command that you made to install HA in the first place to mount the new config directory location. Then just copy the entire c intents of the old directory (including all of the hidden files/folders) to the new directory.