Raspberry Pi in mineral oil enclosure
Just buy a can of conformal coating spray and put it on the board.  That will protect everything but the connector pins from humidity.

https://www.aitechnology.com/products/conformal-coatings/conformal-coating-moisture/

https://www.techspray.com/c-4-conformal-coating.aspx