Bioreactors and methods for cultivating microalgae under heterotrophic growth conditions using fruit wastewater as a carbon source are provided herein. The heterotrophic growth conditions include low irradiance of light sufficient to initiate light-activated metabolism, but not photosynthesis. The methods provide a cost effective and environmentally friendly solution for converting wastewater from dried fruit and wine industries into products like biofuels.