Or through the drains. Downstairs loo? Floor drain in the scullary?
TBH fixing to the door frame seems a bit pointless to me. The water will just find it's way between the frame and the wall. Don't think a tiny bead of five year old silicon is going to keep it out...
Bits if ali U channel on the outside faces of the wall, solidy fixed and witha full layer of sealant behind. Don't forget the horizontal at the bottom of the opening. The board that slide down into this needs a compliant seal of somesort arranged such that the weight of water compresses it even harder. If there is a joint between boarsd that will need a compliant seal as well and again idealy one where the weight of water makes it seal harder. Not sure how one would arrange that.
Also see what your insurance company has to say about DIY flood gates. In my view they should support you, as you are trying to reduce the losses but knowing insurance comapnies if you don't use "approved" kit they'll use it as hook to hang not paying out on.