The first point: waterproof work needs to be done. For example, paint the roof with asphalt or use other waterproof materials.
The second point: the texture of the soil must meet the requirements, and the soil must be kept loose at first.
The third point: choose vegetable varieties suitable for the corresponding climate.