Hey,
If the box can be mechanically clamped to the table, I figure the best choice would be a silicon rubber gasket (for oil resistance), likely not a size you can find so might be worth looking into a 'strip' of silicon so to speak. You can also find silicon RTV (Room-temp vulcanizing) kits...