Bottles at night

My 15 month old sleeps ok at nights but she always wakes up at least twice a night. Each time she wakes up I give her a bottle, she finishes the bottle then she goes right back to sleep. Everyone is telling me she drinks “out of habit.” So my question is how do I break the habit? I’ve stayed away from the cry it out method so I’m not sure what other way to do it. Advice please