The stone miners mine the closest rock source, so if you put one on top of a teleporter, they’ll mine there.