Since you are not using pots, you should dig a hole for like 20-25liters of ground.
Some other advice; Autoflowers love airy soil, some cocopeat or perlite will be a good outcome.
if you can spare the money, you should buy a bag.
If you want to use that 5 gallon bucket which is like 18Liters, it would be enough yes.