So, I have a dockerfile that I run Django via CapRover to run the backend of my website. Amongst the components, I have an admin panel that I log into using a superuser that I've created by ssh-ing into the docker container. The problem is that whenever I change my backend by uploading it as a .tar via CapRover, I have to create my superuser again.
My question is, is there any way to avoid this by creating some sort of persistance? Or is there any way of automating this via my dockerfile?
Thanks!