DEV Community

Discussion on: Containerizing your Go Applications with Docker

Collapse
 
aurelievache profile image
Aurélie Vache

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 🙂