Strapi config restore is working on local but not on server

sure. I added the mentioned scripts on package.json and ran the dump:config on local. This generated the strapiConfig.json which I pushed to git repo. When I’m deploying it through docker file, I ran the command in below sequence
yarn build
yarn restore:config
yarn start(this has strapi start)
Now when i see the admin panel, configuration is not loaded as I am not able to see the correct order and description for fields which was there on local environment.