HA inside Docker upgrade issue

I have my HA running in a Docker container. When I need to upgrade HA I just create a new container and point it to a copied folder of the previous HA config. I still have to reinstall many integrations as well as all my HACs config. Is there any way to upgrade inside a container and have it persist all the integration config?

If you mapped /config correctly just update it.

There’s no need to copy any config folder.

Doh… That was it. I was just making a copy to be safe but no need really. I have backups. Awesome. Thanks