Help with configurator requested

I pulled configurator using this command:

sudo docker run -d \
--name configurator \
--restart always \
-v /~/homeassistant/.config/ \
-v /docker/configurator:/config -p 3218:3218 causticlab/hass-configurator-docker:arm

In /config/settings.conf (inside the container) I placed this:

BASEPATH: "/~/homeassistant/.config/"
ENFORCE_BASEPATH: False

In /usr/lib/python3.5/site-packages/hass_configurator/configurator.py I put this on lines 35 and 38:

BASEPATH: "/~/homeassistant/.config/"
ENFORCE_BASEPATH: False

In a terminal window ls -a confirms the path to my yaml files for HA is good. but when I restart configurator, it creates ~/homeassistant/.config/ inside the docker container instead of using the HA folder. I cannot find anything I’ve done wrong. Thanks for any help.