Docker image size issue with Sql Server database image

We have a Sql Server db image which contain sql server and our database , we run container from this image , we run new sql queries to upgrade the database and create image from this container and publish the updated image again with version tag. The problem we are facing everytime we do upgrade and create new image from container the size of image gets almost double.