Add ENTRYPOINT for status-go image (#1084)

This commit is contained in:
Jakub 2018-07-10 11:29:40 +02:00 committed by Ivan Daniluk
parent 40fa97ef33
commit 6d4f657106
1 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,10 @@ RUN cd /go/src/github.com/status-im/status-go && \
# Copy the binary to the second image # Copy the binary to the second image
FROM alpine:latest FROM alpine:latest
LABEL source="https://github.com/status-im/status-go"
LABEL description="status-go is an underlying part of Status - a browser, messenger, and gateway to a decentralized world."
LABEL maintainer="support@status.im"
RUN apk add --no-cache ca-certificates bash RUN apk add --no-cache ca-certificates bash
COPY --from=builder /go/src/github.com/status-im/status-go/build/bin/statusd /usr/local/bin/ COPY --from=builder /go/src/github.com/status-im/status-go/build/bin/statusd /usr/local/bin/
@ -25,3 +29,5 @@ COPY --from=builder /go/src/github.com/status-im/status-go/static/keys/* /static
# 30304 is used for Discovery v5 # 30304 is used for Discovery v5
EXPOSE 8080 8545 30303 30303/udp 30304/udp EXPOSE 8080 8545 30303 30303/udp 30304/udp
ENTRYPOINT /usr/local/bin/statusd