Skip to content

Commit

Permalink
chore(dockerfile): 🤖 revert binary as -node instead of -cli
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Oct 4, 2023
1 parent 9d67ea0 commit 5718140
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ ENV RUST_BACKTRACE=1
RUN mkdir -p /build/target/release
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/build/target \
cargo build --profile release --bin lightning-cli && \
cargo build --profile release --bin lightning-node && \
cargo strip && \
cp /build/target/release/lightning-cli /build
cp /build/target/release/lightning-node /build

FROM ubuntu:latest
ARG LIGHTNING_PORTS="4069 4200 6969 18000 18101 18102"
Expand All @@ -36,7 +36,7 @@ RUN apt-get update && \
libssl-dev \
ca-certificates

COPY --from=build /build/lightning-cli /usr/local/bin/lgtn
COPY --from=build /build/lightning-node /usr/local/bin/lgtn

COPY <<EOF /root/init
#!/usr/bin/bash
Expand Down

0 comments on commit 5718140

Please sign in to comment.