Just google ant repellant and you will find many borders that an ant will not cross. Here are some I copied from a website.
"Sprinkle powdered charcoal, cinnamon, cloves, garlic, lemon juice, black pepper, cayenne pepper, red chili pepper, paprika, dried peppermint, bone meal, talcum powder, or make a chalk line where the ants are entering."