From 4f10771e48f479a35379f468d68bf8c384a62c3a Mon Sep 17 00:00:00 2001 From: babonet13 Date: Wed, 14 Nov 2018 14:12:20 +0100 Subject: [PATCH] Add EXPOSE directive for 9735 (p2p) & 10009 (rpc) See EXPOSE additional directive line 32 --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9cd2d42c..047c5c03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,9 @@ RUN apk --no-cache add \ COPY --from=builder /go/bin/lncli /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. ENTRYPOINT ["lnd"] CMD ["lnd"]