Sterilizing soil

I think you would be fine putting it in your oven at the lowest temp for 2 or 3 hours. I use to do that for my mushroom substrates and worked out fine