Skip to content

Commit

Permalink
fix: path
Browse files Browse the repository at this point in the history
  • Loading branch information
mikutas committed Sep 17, 2023
1 parent a0d36bb commit a5bfbd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM golang:1.21.1 as builder
ARG VERSION
COPY greeter_server/ /go/src/github.com/mikutas/grpc-go-helloworld/greeter_server/
RUN cd /go/src/github.com/mikutas/grpc-go-helloworld/greeter_server/ \
COPY ./ /go/src/github.com/mikutas/grpc-go-helloworld/
RUN cd /go/src/github.com/mikutas/grpc-go-helloworld/ \
&& CGO_ENABLED=0 go build

FROM gcr.io/distroless/base-debian10
COPY --from=builder /go/src/github.com/mikutas/grpc-go-helloworld/greeter_server/greeter_server /bin
COPY --from=builder /go/src/github.com/mikutas/grpc-go-helloworld/ /bin
ENTRYPOINT [ "greeter_server" ]

0 comments on commit a5bfbd3

Please sign in to comment.