Crews are working to contain a fire at a scrapyard in Waterbury, which environmental officials said is now impacting the Naugatuck River.