Simple double stage Golang docker image
The efficient way to run golang app inside docker is to convert it to the binary and run. It is one of the advantage of compiled programming languages against interpreted programming languages. Compared to all the files needed to run a nodejs application, Golang binaries are much more manageable. Docker