Dog VS Baby

Im stuck in a hard place right now.

I have a needy newborn & needy dog.

Theyre BOTH spoiled & its my fault.

Ive had my dog for 4 years, I rock him to sleep, cuddle him, etc

Everytime I try to put the baby to sleep or feed her the dog wines and when I try to console the dog the baby cries 😭

Especially at night my dog is used to me holding him to sleep now my baby wants to be held too . What do I do?