To beat the level 15 boss, save as much gold as you can and invest in a carpenter's guild with at least 10 carpenters to repair damage to your castle. Also try to get a level 3 ballista with as many crew as you can afford, and upgrade your castle to stone.
Avoid wasting gold on the hauler, since food isn't a priority this early. Another handy tip: if you let the dragon fly fully onto your screen before your first hit, it often won't use the attack that can kill you instantly.