Truck catches fire, spreads to chemical building