The Department of Environment (DoE) yesterday fined a dyeing factory and a housing project in Narayanganj and Savar a total of Tk 37 lakh for violating environmental laws.