Ants are generally attracted to food, so if your dog eats treats in her bed or maybe hides rawhides or other treats in the bed, that would be what the ants are attracted to. They're also likely to follow the scent of urine or feces, so if your dog has a problem controlling either of those, that could be part of the problem too.
Some home remedies you could try to get rid of the ants would be:
Vinegar is such a powerful natural ant repellent, it will cause those pesky critters to run away from wherever you put it. If ants are coming inside your house, spray some around the doors or windows. They won't ever try to go inside your house with the odor of vinegar. You can also spray some on their nests, they won't stay there for long you can be sure about that.
Black pepper is another very powerful ant repellent, because they don't like it. If you sprinkle some pepper around your house and near ant nests, they won't come near your house and move away. Just sprinkle some until they are completely gone from your garden or lawn.
Cayenne pepper is similar to black pepper, ants just avoid it because of the strong smell. So again spray some around where you don't want to find ants and near their colonies. They will run away in no time.
Cinnamon is another natural ant repellent that you can use. It has a similar effect to the different peppers. You can buy it in bulk for pretty cheap and sprinkle it everywhere you don't want ants. It is a lot cheaper than getting chemicals and very effective. It won't kill them, but they will not bother you again.
Boiling water is a bit more brutal method to get rid of those ants, but usually works pretty well, if you can get the queen. Usually it won't be a problem if you put enough water down their nest. A few gallons of water should be enough.
Another natural ant repellent is baby powder. Ants are killed by baby powder. Baby powder is really just Diatomaceous earth, a safe and natural substance. Pets will ignore baby powder and children aren't affected by it at all. Place a line of baby powder around windows, doors, and cracks, and you'll virtually eliminate your ant problem overnight.
Coffee is a natural ant repellent as well. Ants hate coffee, so they won't cross a line of it. You can use coffee in much of the same way as you use baby powder. Almost everyone has coffee in their cupboard, so it is an easy solution. But don't think you need to use the expensive stuff - generic is good enough for ant!
A suprising ant repellent I'd like to share in this article is Cream of Wheat. Cream of Wheat is a natural bait for ants. The workers take the cereal back to the nest where they share the food with all of the ants. When Cream of Wheat comes into contact with the internal fluids of the ant, it explodes. This is a way to take care of the entire ant problem with a bang.
I hope these help!!