grpc-mocker/Dockerfile.client

19 lines
267 B
Docker
Raw Normal View History

2023-02-18 23:28:01 +05:30
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
2024-05-02 09:00:05 +05:30
ENV GOOS=linux
ENV GOARCH=arm64
2023-02-18 23:28:01 +05:30
RUN go install -v ./...
EXPOSE 3000
2024-05-02 09:00:05 +05:30
CMD [ "/go/bin/linux_arm64/client" ]