IIRC we passed the wort through PVC, and the cold water through copper tubing wrapped around the PVC. PVC is generally food safe and we cleaned it, IIRC, with IPA (isopropyl alcohol, not india pale ale).
I got a real imposter syndrome from the whole project and my housemate went on to be a famous microscopist (but later rage-quit to leave for industry). I build microscopes using 3d printers and other easily sourced bits. But Home Depot is a terrible place to source materials. They are the lowest quality.