Skip to content

Commit

Permalink
Editing Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Stef committed Nov 2, 2020
1 parent e484cd5 commit 0174be3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@ WORKDIR go/src/arise

COPY . .

WORKDIR server

RUN go build \
&& mv server /go/bin
&& mv arise /go/bin


#####
FROM alpine:3.6

COPY --from=builder /go/bin/server /usr/local/bin
COPY --from=builder /go/bin/arise /usr/local/bin

ENTRYPOINT ["server"]
ENTRYPOINT ["arise", "relay"]

0 comments on commit 0174be3

Please sign in to comment.