The executable file will be slightly smaller, but the game content still needs to be there for the above mentioned reasons. Overall, your package won’t be much different in size.
usually the size of the cooked dedicated server is way smaller because there is a lot of content the dedicated server doesn’t need (textures, audio assets, etc.).
You might need to take care of some of the stuff on your own to make sure this content isn’t cooked for the server.