The flames broke out inside the College Avenue structure in the Claremont section just after 2 a.m.
Firefighters battled cold and snow in addition to the fire, which shot through the roof of the three-story building.
Six police officers and four residents were treated for smoke inhalation.
The residents who were left temporarily homeless by the fire were being aided by the Red Cross.
The cause of the fire is under investigation.