The 32-year-old Scotland international began his career at Livingston, where he played alongside current Dundee boss James McPake, before moving to West Brom in 2008.
Dorrans has also played for Partick Thistle and Norwich City and spent two years at Ibrox. He could make his debut for the Dark Blues in Saturday's Ladbrokes Championship match against Morton at Cappielow.