My potted tree, has done very well this year, lost count how many times it put out flowers and fruit. so many berries most just dropped to the ground and were swept into the trash.
no special treatment, I just water them on occasion, and once in a while fertilize when I see the leaves yellowing, probably the easiest plant I have to take care of. mine gets full mid day sun, for about 4-5 hours direct sunlight. but shade in the afternoon, and early morning due to wall and house.
Mine took a few years to do anything, I started lowering ph, to see if it would flower, and just weeks after , it started flowing, and producing fruit multiple times every year since then.