Couple things false (per usual on this website like i mentioned before), owning a home is absolutely NOT a liability. It is literally called an asset lol like idk how else to explain that. Your home increases in value which in turn increases your net worth = asset.
Second, a doctor loan has the benefit of NOT counting your student loans against you. I have no idea what bank you go through but its part of the benefit of that type of loan is they understand you have student loans, but also know you will pay if back with the high doctor salary.
Source: I just bought a house with a doctor loan, and would not in a million years put 20% of my money down instead of 0 or 5%. The downpayment money you save could be use to invest, pay down student debt (which is an actual liability), etc.