Updated

Indonesian police say they have accounted for the safety of three of 10 people missing after a fireworks factory inferno that killed at least 47 and injured dozens.

Tangerang police chief Harry Kurniawan says one was a woman who left the factory before the fire broke out and two were men who escaped and didn't report to police until Friday morning.

Investigators were trying to determine the cause of Thursday's explosion and fire at the factory near Indonesia's capital. Most of its 103 employees were young women.

Survivors told authorities the fire started in a section of the factory where fireworks are dried.

Witnesses heard a huge explosion about 10 a.m. Thursday, followed by smaller blasts as orange flames jumped from the building and columns of black smoke billowed.