According to Better Homes and Gardens, to make your own dehumidifier, you’ll need two buckets. Make holes in the first bucket, and then place it into the second bucket.
Pour your rock salt into the first bucket, and when the second bucket fills up with water, dump out the run-off. Add more salt as it’s gradually depleted.