The best practice is certainly to use compiled binaries in the docker container. If you’re doing rapid iteration/development, I’d recommend using a “:latest” tag on the ‘container’ directive and then setting up some automation to automatically build and push the container to that tag.
As your programs reach maturity, then start to formalize with a v1.0 tag etc.