It's working for an hello world but it's not the real life.
What about if your apps have go modules? Your dockerfile will be KO because of dependencies.
There are many ways to handle this case like multi stage dockerfile if you create it manually. You can also use buildpacks, goreleaser ....
So many ways 🙂
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It's working for an hello world but it's not the real life.
What about if your apps have go modules? Your dockerfile will be KO because of dependencies.
There are many ways to handle this case like multi stage dockerfile if you create it manually. You can also use buildpacks, goreleaser ....
So many ways 🙂