If you ever shop keep an eye open for a correctly sized coffee
or pasta kitchen storage container. They seal and are airtight.

I keep a couple active razors in a cup in the bath under the sink...