So one way would be to create a file in the container, /etc/profile.d/20-path.sh, with content:
export PATH="$PATH:$HOME/.local/bin"
i suggest this way of doing it because you don’t need to touch any scripts in your homedir, which is shared between KDE Linux and the container.