The primary way in which players acquire space docks is by resolving either the primary or secondary abilities of the “Construction” strategy card.
This is the official Living Rules Reference wording under Space Dock.
LRR v2.0 (base game / Prophecy of Kings); specific card abilities may override the general rule.