Breastfeeding question

J
So I have been informed by my doctor that breastmilk can be good for 24 hours when refrigerated.
My question is that if I fill up an ounce a few hours ago can I keep adding breastmilk to that same container later? 
FTM here sorry if it's a stupid question