Version mismatch in Dockerfile in the Go Runtime tutorial

I’ve been trying to follow the examples on the Go Runtime tutorial in the official Nakama docs:

I kept getting Go-related error messages that were hard/impossible to debug for me. I think there may be a mistake in the Dockerfile that led to these error messages. It seems like the versions of Nakama and Nakama plugin builder don’t match in the provided example.
On line 1, version 3.16.0 is used, while on line 14 version 3.19.0 is used. Changing line 1 to 3.19.0 seems to have worked.