Indonesian fireworks factory explosion kills dozens

An explosion and inferno at a fireworks factory near the Indonesian capital on Thursday killed at least 47 people, most of them female workers, and injured dozens, police said.

Witnesses said a huge explosion was heard from the factory at about 10 a.m. and then smaller blasts echoed across the neighborhood as orange flames jumped from the building and columns of black smoke billowed from it.

Hary Kurniawan, chief of police in the Jakarta satellite city of Tangerang, said all the bodies recovered so far were found in the remains of the factory.

The death toll could rise as many of those who escaped have suffered extensive burns, said Nico Afinta, general crimes director at Jakarta police. He said bodies were found piled at the rear of the building.

The factory is located next to a residential area in Tangerang, a city in Banten province on the western outskirts of Jakarta. A police report said the fire spread after an explosion that caused the roof to collapse. (AP)

See more news-related photo galleries and follow us on Yahoo News Photo Twitter and Tumblr.

Indonesian fireworks factory explosion kills dozens

Indonesian police and rescuers evacuate bags containing the bodies of fire victims at a fireworks factory in Tangerang, Indonesia, on Oct. 26, 2017. (Photo: Agoes Rudianto/Anadolu Agency/Getty Images)

Indonesian fireworks factory explosion kills dozens

Indonesians look at a firecracker factory that burned down in Tangerang Kota, Banten province on Oct. 26, 2017. (Photo: Demy Sanjaya/AFP/Getty Images)

Indonesian fireworks factory explosion kills dozens

General view of a firecracker factory that burned down in Tangerang Kota, Banten province, Indonesia on Oct. 26, 2017. (Photo: Demy Sanjaya/AFP/Getty Images)

Indonesian fireworks factory explosion kills dozens

A firefighter sprays water to the site of an explosion at a firecracker factory in Tangerang, on the outskirt of Jakarta, Indonesia, Thursday, Oct. 26, 2017. The explosion and raging fire killed a number of people and injured dozens, police said. (Photo: Tatan Syuflana/AP)

Indonesian fireworks factory explosion kills dozens

Indonesian police officer evacuated a body bag containing the bodies of fire victims at a fireworks factory in Tangerang, Indonesia, on Oct. 26, 2017. (Photo: Agoes Rudianto/Anadolu Agency/Getty Images)

Indonesian fireworks factory explosion kills dozens

Firefighters work at the site of an explosion at a firecracker factory in Tangerang, on the outskirt of Jakarta, Indonesia, Thursday, Oct. 26, 2017. (Photo: Tatan Syuflana/AP)

Indonesian fireworks factory explosion kills dozens

Firefighters manage to shut down the fire at a fireworks factory after two hours in Tangerang, Banten, Indonesia on Oct. 26, 2017. (Photo: Donal Husni via ZUMA Wire)

Indonesian fireworks factory explosion kills dozens

Indonesian police officers carry a dead body after an explosion at a fireworks factory at Kosambi village in Tangerang, Banten province, Indonesia, Oct. 26, 2017. (Photo: Antara Foto/Muhammad Iqbal via Reuters)

Indonesian fireworks factory explosion kills dozens

Indonesian police officers stand guard after an explosion at a firecracker factory in Duri Kosambi, Tanggerang, Banten, Indonesia, Oct. 26, 2017. (Photo: Bagus Indahono/EPA-EFE/REX/Shutterstock)

Indonesian fireworks factory explosion kills dozens

Indonesian police officers check dead bodies after an explosion at a fireworks factory at Kosambi village in Tangerang, Banten province, Indonesia, Oct. 26, 2017. (Photo: Antara Foto/Muhammad Iqbal via Reuters)

Indonesian fireworks factory explosion kills dozens

Police officers and rescuers carry a body at the site of an explosion at a firecracker factory in Tangerang, on the outskirts of Jakarta, Indonesia, Thursday, Oct. 26, 2017. The explosion and raging fire killed a number of people and injured dozens, police said. (Photo: Tatan Syuflana/AP)

Indonesian fireworks factory explosion kills dozens

Rescuers inspect burnt out cars at the site of an explosion at a firecracker factory in Tangerang, on the outskirt of Jakarta, Indonesia, Thursday, Oct. 26, 2017. The explosion and raging fire killed a number of people and injured dozens, police said. (Photo: Tatan Syuflana/AP)

Indonesian fireworks factory explosion kills dozens

A plainclothes police officer works at the site of an explosion at a fireworks factory at Kosambi village in Tangerang, Indonesia Banten province, Oct. 26, 2017. (Photo: Beawiharta/Reuters)

Indonesian fireworks factory explosion kills dozens

Firefighters work at the site of an explosion at a firecracker factory in Tangerang, on the outskirt of Jakarta, Indonesia, Thursday, Oct. 26, 2017. (Photo: Tatan Syuflana/AP)

Indonesian fireworks factory explosion kills dozens

A police officer holds tape at the site of an explosion at a fireworks factory at Kosambi village in Tangerang, Indonesia Banten province, Oct. 26, 2017. (Photo: Beawiharta/Reuters)

Indonesian fireworks factory explosion kills dozens

Police officers search the body on the site of an explosion at a firecracker factory in Tangerang, on the outskirts of Jakarta, Indonesia, Thursday, Oct. 26, 2017. (Photo: Tatan Syuflana/AP)

Indonesian fireworks factory explosion kills dozens

In this image made from video, residents watch as thick black smoke billows from the site of an explosion at a firecracker factory in Tangerang, on the outskirt of Jakarta, Indonesia, Thursday, Oct. 26, 2017. (Photo: AP)