FROM golang:1.19.1 WORKDIR /go/src/git.strikerlulu.me/strikerlulu/grpc-mocker/client COPY go.mod . COPY go.sum . RUN go mod download COPY . . COPY pb ../pb ENV GOOS=linux ENV GOARCH=arm64 RUN go install -v ./... EXPOSE 3000 CMD [ "/go/bin/linux_arm64/client" ]