Just a comment. If you do not want to use up space with a wine bottle, take a small glass bowel about the size of a custard dish. Fill 3/4 with apple cider vinegar and pour dish washing liquid.
Swirl. Wait until you see all the fruit flies. The hide in the fruit so you don't see them