Well, you aren't allowed to discriminate against buyers from other European countries either. It's a single market.
> While you are free to define your general terms and conditions of sale, including limitations on delivery, all your customers based in the EU must have the same access to goods as your local customers.
https://europa.eu/youreurope/business/selling-in-eu/selling-...
So, if you only deliver within France, someone outside of France needs to be allowed to buy it, and have it delivered somewhere in France.
It is not a single market by a long shot. This is not discrimination.
> While you are free to define your general terms and conditions of sale, including limitations on delivery, all your customers based in the EU must have the same access to goods as your local customers.
https://europa.eu/youreurope/business/selling-in-eu/selling-...
So, if you only deliver within France, someone outside of France needs to be allowed to buy it, and have it delivered somewhere in France.