Skip to content

Commit

Permalink
Modify docker file typo and �fix milvus-backup path in ENTRYPOINT (#240)
Browse files Browse the repository at this point in the history
Signed-off-by: jinwoo.baek <[email protected]>
Co-authored-by: jinwoo.baek <[email protected]>
  • Loading branch information
Nanjangpan and jinwoo.baek authored Nov 28, 2023
1 parent bf9c18f commit 623bed0
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,14 +1,14 @@
From golang:1.18 AS builder
FROM golang:1.18 AS builder

ENV CGO_ENABLED=0
WORKDIR /app
COPY . .
RUN go mod tidy
RUN go build -o /app/milvus-backup

From alpine:3.17
FROM alpine:3.17
WORKDIR /app
COPY --from=builder /app/milvus-backup .
COPY --from=builder /app/configs ./configs
EXPOSE 8080
ENTRYPOINT ["milvus-backup", "server"]
ENTRYPOINT ["/app/milvus-backup", "server"]

0 comments on commit 623bed0

Please sign in to comment.