Milk supply

I feel very disappointed in myself. I want to breast feed, but I'm not even producing enough colostrum, maybe 2 ml and that's it.  I have giving my baby what I barely pumped out and really didn't want to give formula but I felt so bad like I was starving her so I gave in and took the hospitals formula :( she drank it like she hasn't eaten in a year! When will my supply fully come in? I pump every 2-3 hours to try and get my supply to come in. I don't want to give up but sometimes I want too because I'm upset with myself. It's been 2 days since I have birth. Any words of advice would be appreciated.