I have Tabasco chilies growing in a planter, beautiful plants planted about 2 months but still no blooms, so no peppers. They are in a sunny spot with plenty of drainage. Plants pretty and green just no peppers yet.
Add more phosphorus to the soil. Your soil is probably lacking this and peppers need this to flower. This article will help: https://www.gardeningknowhow.com/garden-how-to/soil-fertilizers/phosphorus-plant-growth.htm
If you are seeing blooms or fruit but they are dropping, this article will help: https://www.gardeningknowhow.com/edible/vegetables/pepper/pepper-blossoms-falling-off.htm