A blaze that broke out at a rubber factory in Roorkee early Friday morning has been doused, an official said.