When attempting to minimize the incidence of an ant invasion, removing food from open bags and containers and placing it in a zip-lock bag will go a long way. If you don’t want to have issues, remember to close and seal each zip-lock bag when you’re done with it.