I would use WHITE chalk not colored and draw a line around the ants will not cross the white chalk line.
I would also use peppermint essential oil. Place the oil on a cotton ball rubbing it around the entry ways and/or put the cotton ball in the window seal and leave
We tried this once and it doesn't work for the ants at our house. They were getting into our cat's food so we put several white chalk lines around it in circles. Then we watched the ants crawl all over and across the chalk lines right into the food bowl.