Can you afford 32? Get 32... or 64... more ram is always better.
If you can afford 64G is a good investment for longevity. But 32G isn’t a bad option for next years.
Android Studio and Docker sufficient reasons for at least 32G memory but nothing less.