Strapi removes newly created tables on server restart

Hi thanks for the explanation, couldn’t find strapi docker image for latest version so used the current state when building docker

regarding yarn develop → if I use yar build on my prod environment i won’t able to create new contentTypes on the fly right or can ?

and I tried voulme mounting it works thanks