A digital Ocean snapshot will always be the size of the disk. And that is a server provider feature, it has nothing to do with Discourse.
If you want to preserve Discourse state in a smaller file, use the Discourse backups, available in the admin panel.