Building a docker image to run go applications
I am building a docker image on mac OS (Monterrey) with below dockerfile FROM golang:latest WORKDIR /src COPY go.* ./ RUN go mod download COPY . /src RUN go build -o /main ENTRYPOINT ["/main"] It works fine til the 3rd…