I've had ants come in and demolish feeder bins AND gecko collections. They are beasts to contend with, for sure.
eriksorg gave the most effective deterrent .. a moat of sorts.
Sprinkling tansy (an herb you can find at natural grocery stores, usually) around the enclosures and wherever they are coming in, MIGHT stop them. Also, there's a chalk you can get in most "china towns" that works sometimes. Wiping things down with soapy water ..it destroys their scent trails.. is useful, but doesn't move them out completely. I've also used the pre-made vegetable wash to spray them and wipe them up.. a good manual way to remove them.. but again, this doesn't completely rid them, in my experience.
I can give you 100 tips, as I've battled them every year in our current place, but none are FULL PROOF. You just have to stay on top of them and eventually, they find something or somewhere else.
If you don't have feeders or other pet inverts in your home, you may want to consider a professional exterminator.
Good Luck!