1. Vacuum absolutely everything, so there are no crumbs or spills to attract them. Mop, too, and clean out any leaky juice.
2. Put cinnamon powder or crushed pepper powder in a ring around your floor to keep them out. Ants can't get past it, and it's nontoxic.