Residents have been warned to stay inside as more than 160 firefighters battle the blaze outside the city