Structure built on piles along the shore of a harbor or on the bank of a river or canal where ships dock.