Add EXPOSE directive for 9735 (p2p) & 10009 (rpc)

See EXPOSE additional directive line 32
This commit is contained in:
babonet13 2018-11-14 14:12:20 +01:00 committed by GitHub
parent fd5b24fb4e
commit 4f10771e48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]