Merge pull request #2185 from babonet13/patch-1

Add EXPOSE directive for 9735 (p2p) & 10009 (rpc)
This commit is contained in:
Johan T. Halseth 2018-11-19 08:48:20 +01:00 committed by GitHub
commit d6d833c242
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,6 +28,9 @@ RUN apk --no-cache add \
COPY --from=builder /go/bin/lncli /bin/ COPY --from=builder /go/bin/lncli /bin/
COPY --from=builder /go/bin/lnd /bin/ COPY --from=builder /go/bin/lnd /bin/
# Expose lnd ports (p2p, rpc).
EXPOSE 9735 10009
# Specify the start command and entrypoint as the lnd daemon. # Specify the start command and entrypoint as the lnd daemon.
ENTRYPOINT ["lnd"] ENTRYPOINT ["lnd"]
CMD ["lnd"] CMD ["lnd"]