This article claims that dollar stores are bad for the poor because they discourage other supermarkets from opening and providing a wider selection of healthier foods:
https://www.cnn.com/2019/07/19/business/dollar-general-opposition/index.html
Basically they are arguing to regulate/outlaw discount stores to allow higher-priced stores to operate without competition in poor areas, where people's budgets are most vulnerable to higher prices.
Bad idea and malicious at that.
So why not supplement the dollar stores' selection by making their parking lots and/or empty lots nearby sites for farmer's markets?
Local governments could even require the dollar stores to install awnings or other covered structures so that sellers tabling outside with fresh produce, etc. wouldn't need to set up their own tents.
Of course the same regulations would need to protect the stores from liability for what is sold outside by independent vendors.
And then the question would be how much censorial leeway store managers would have to evict sellers from their premises for whatever reason.
Imo, having independent produce vendors outside the local dollar store would be a win-win as it would give customers more options to buy at a single location; and dollar stores that keep prices low by not having to manage and refrigerate a selection of fresh produce would also benefit by having produce available outside their store without being liable for the costs and risks associated with it.