Skip to content

Commit

Permalink
docs: πŸ“ small tweaks to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Sep 19, 2023
1 parent ae33ad5 commit a1acca7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions guides/Node Operators/running-a-node-in-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,14 @@ ENV RUST_BACKTRACE=1

RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/lightning/target \
cargo build --profile $PROFILE --bin lightning-node \
&& cargo strip \
&& mv /lightning/target/release/lightning-node /lightning-node
cargo build --profile $PROFILE --bin lightning-node && \
cargo strip && \
mv /lightning/target/release/lightning-node /lightning-node

FROM ubuntu:latest

RUN DEBIAN_FRONTEND=noninteractive apt-get update -yq && \
DEBIAN_FRONTEND=noninteractive apt-get install -yq \
RUN apt-get update -yq && \
apt-get install -yq \
libssl-dev \
ca-certificates

Expand Down

0 comments on commit a1acca7

Please sign in to comment.