Hi Pat
I'm sorry to say you will have to apply for a new passport and then make a new ESTA application for the new passport.
What bad luck that your passport expires then - but I'm sure a wonderful holiday will make up for it! And it should be easy to fill in the ESTA form as you've done it once before.
Kind regards
Olly, your editor