Skip to content

Commit

Permalink
chore: improve dockerfile (#266)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 authored Dec 16, 2023
1 parent 7de57f9 commit 5a16b16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ COPY cmd/ cmd/
COPY pkg/ pkg/
COPY version.go version.go

RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH GO111MODULE=on go build -a -o livekit-cli ./cmd/livekit-cli
RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH go build -a -o livekit-cli ./cmd/livekit-cli

FROM alpine
FROM alpine:3.19

COPY --from=builder /workspace/livekit-cli /livekit-cli

Expand Down

0 comments on commit 5a16b16

Please sign in to comment.