Spiders follow their food supply, which means if your dock has lights that draw insects at night, standing water nearby, and sheltered crevices for web-building, it's prime spider habitat. You need to reduce what is attracting them by managing lighting, clearing webs regularly, and reducing insect activity around the dock.