Category: golang

  • Production-ready Docker file for Golang app

    An example of a production-ready multi-stage Docker file for any Golang project. The first stage will build a binary file with the Golang Alpine image. In the second stage, the binary file will be copied from the previous image(golang-alpine) to a new image created from Alpine. So the final image size is small (~5mb alpine…