diff --git a/contrib/docker/Dockerfile.alpine b/contrib/docker/Dockerfile.alpine index 68e5a8a78..de571912d 100644 --- a/contrib/docker/Dockerfile.alpine +++ b/contrib/docker/Dockerfile.alpine @@ -35,5 +35,13 @@ RUN git clone /source /repo --recursive && \ make -j $(nproc) && \ make install -# TODO: review entry point here, to make this availale for the user -CMD ["lightningd", "--version"] +FROM alpine:3.16 as runner + +COPY --from=builder /usr/bin/lightningd /usr/bin/ +COPY --from=builder /usr/bin/lightning-cli /usr/bin/ +COPY --from=builder /usr/bin/lightning-hsmtool /usr/bin/ +COPY --from=builder /usr/libexec/c-lightning /usr/libexec/c-lightning +COPY --from=builder /usr/share/man/man8 /usr/share/man/man8 +COPY --from=builder /usr/share/doc/c-lightning /usr/share/doc/c-lightning + +ENTRYPOINT ["/usr/bin/lightningd"]