Here is how to get rid of the fruit fly:
In a small mixing bowl, combine apple cider vinegar and a few drops of dish soap and set aside. The vinegar will attract fruit flies, and once inside, the soap will drown any fruit flies that land on the surface.