fix proto name

This commit is contained in:
daniel.w 2024-08-25 22:08:56 +08:00
parent b1a19ffba7
commit 80c8bb63a7
1 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ RUN --mount=type=ssh go mod download
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build \ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build \
-ldflags "$FLAG" \ -ldflags "$FLAG" \
-o service -o member
########## ##########
## FINAL # ## FINAL #
@ -41,7 +41,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build \
FROM gcr.io/distroless/static-debian11 FROM gcr.io/distroless/static-debian11
WORKDIR /app WORKDIR /app
COPY --from=builder /app/service /app/service COPY --from=builder /app/member /app/member
COPY --from=builder /app/etc/service.yaml /app/etc/service.yaml COPY --from=builder /app/etc/member.yaml /app/etc/member.yaml
EXPOSE 8080 EXPOSE 8080
CMD ["/app/service"] CMD ["/app/member"]