I have a colony of feral cats I feed daily and have a huge problem with ants. They don't seem to like to crawl in deep dishes. Plus, here's a good tip to use in the home.
Sprinkle some cornmeal around the baseboard(and where you think they're getting in and other areas you see them). They take the granules back to their colony and die.
It really works. It takes about a week before you won't see them anymore, but it's non-toxic to pets and it's well worth it!