Not able to breastfeed

Hey girls ! any of you out there would like to help me out plz

i just gave birth to my little girl and now shes about to turn 1 month old

i had been breastfeeding her the couple of days i gave birth to her like maybe 3 or 4 days when she got admitted in nicu for photo therapy and that is when i couldnt breastfeed her i tried to pump and my milk that came out was even less than 1 ounce so i had to give formula milk to her and that is since when i started to give her formula milk

when i breastfeed her in the beginning of couple days my nipples cracked And started to bleed so i had to stop breastfeeding her

now shes complete on formula milk and my breasts are not producing milk to fill her tummy (less than a ounce)

I dont even feel like a mom to her shes my first child :( i live with my inlaws and they think that im not even trying to breastfeed her even tho i have told them the whole situation

i have tried everything possible from changing my diet drinking lots of water etc but my boobs aint producing milk

doc says that keep breast feeding her even though its just one drop of milk

i see no benefit as i already have to give her formula milk no matter what

i just want to ask is it bad to formula milk your baby if u cant breastfeed??