Skip to content

Commit

Permalink
docker: change build name
Browse files Browse the repository at this point in the history
Signed-off-by: Date Huang <[email protected]>
  • Loading branch information
tjjh89017 committed Sep 19, 2024
1 parent 9aeb079 commit 5e868ea
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
Expand Up @@ -4,11 +4,11 @@ WORKDIR /work
COPY . .

ENV CGO_ENABLED=0
RUN go build -v -o stunmesh
RUN go build -v -o stunmesh-go

FROM scratch

WORKDIR /app
COPY --from=builder /work/stunmesh /app/stunmesh
COPY --from=builder /work/stunmesh-go /app/stunmesh-go

CMD ["/app/stunmesh"]
CMD ["/app/stunmesh-go"]

0 comments on commit 5e868ea

Please sign in to comment.