FROM golang:1.17 WORKDIR /go/src/milkwatch-server COPY . . RUN go get -d -v ./... RUN go install -v ./... CMD["milkwatch-server"]