There were no injuries.
Nattapon Natthasomboon, director-general of the Department of Industrial Works, said the blasts erupted from a gas tank within the compound. Firefighters were able to control the fire after about an hour, he added.
Pollution Control Department director-general Wichian Joongrungruang said reports of a pungent stench that had been emanating from the factory may be linked to the cause of the explosions. An investigative team has begun conducting further investigation.