Deploying in a Docker container and retain Tag Manager scripts

Hello,

I’m deploying Matomo with Docker and all is working well.
However, when the container restarts, the Tag Manager scripts disappear, which is annoying because I would have to recreate Tag Manager containers and change the ID in my applications whenever the server restarts or when we update the Matomo server.

How to provision the Docker image so that Tag Manager scripts are retained

Here is my Docker image :

FROM docker.io/bitnami/matomo:latest

ADD provisioning/js/ /var/www/html/matomo/js/

In the provisioning/js folder, I have my container_XXX.js scripts.
What is the right folder to send these files to ?

Thank you for your help !