To repair, you need to first clean off everything and confirm exactly where the leak is. Is this truck new-to-you? If not, and this just happened, likely has the washers all correct. If leaking there, a tad more tightening may help, these are crush/seal washers.
If the bleeder screw is leaking, "maybe" a new one or even a smaller tad of tightening may help.
But if it's the caliper that is leaking, probably best to just buy a rebuilt caliper; different ones for left and right sides. O'Reilly and Autozone sell the same one, lifetime warranty, have one on my truck.