My veggies do not produce in pots. I live in an apartment with enclosed terrace. Each year I plant tomatoes and peppers in larger flower pots and although they blossom, it does not stay.
My Veggies Do Not Produce in Pots
Certified GKH Gardening Expert
There could be a few reasons.
Temperatures, sunlight, pollination.
I have listed several links with great information.
It should help you pinpoint the issue.
I do like to use Epsom Salt on my plants as a weekly addition. As soon as the plants start blooming I began applying.