My go to for cheap bikes is to buy a mostly intact Japanese steel bike from the 1980s bike boom, and upgrade to your preferences. My current favorite bike was $150 for an old Univega and $200 for a new headset, bottom bracket, brakes, chain, saddle and pedals.