An investor has acquired an eight-unit apartment building in Union City for $1.2 million, according to a brokerage team with Cervelli Real Estate & Property Management.