It happened in the area of 25th Street and West Indiana Avenue at 3 a.m. on Tuesday.
Police say the gunman rode away on the victim's e-bike.
The suspect then abandoned the bike, which had a flat tire, about a block away.
The victim was shot in the face but was conscious when arriving at Temple Hospital, according to officials.
He's in stable condition.