From 80c8bb63a7e7e00395da188b4f70280485609a56 Mon Sep 17 00:00:00 2001 From: "daniel.w" Date: Sun, 25 Aug 2024 22:08:56 +0800 Subject: [PATCH] fix proto name --- build/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index 78cd457..f13d3d0 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -32,7 +32,7 @@ RUN --mount=type=ssh go mod download RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build \ -ldflags "$FLAG" \ - -o service + -o member ########## ## FINAL # @@ -41,7 +41,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build \ FROM gcr.io/distroless/static-debian11 WORKDIR /app -COPY --from=builder /app/service /app/service -COPY --from=builder /app/etc/service.yaml /app/etc/service.yaml +COPY --from=builder /app/member /app/member +COPY --from=builder /app/etc/member.yaml /app/etc/member.yaml EXPOSE 8080 -CMD ["/app/service"] \ No newline at end of file +CMD ["/app/member"] \ No newline at end of file