Data get's deleted when strapi container restarts

And are you passing DATABASE_CLIENT when building the docker image.
When you start the container and it runs does it run with the correct database or does it show sqlite.

@chlec
Do you have multiple database.js files for environments or any config/env/X folders?