Your dog too needs a comfort and so it found it outside instead of inside your house.
If you want your dog to sleep inside then you got to change something.
It could be to bring more oxygen level in the room, low light and comfortable place to sit.
If it's cooler outside our big dogs want to be out at night.