File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM rust:1.87 -alpine AS chef
1+ FROM rust:1.89 -alpine AS chef
22USER root
33# Add cargo-chef to cache dependencies
44RUN apk add --no-cache musl-dev & cargo install cargo-chef
@@ -12,13 +12,13 @@ RUN cargo chef prepare --recipe-path recipe.json
1212FROM chef AS builder
1313COPY --from=planner /app/recipe.json recipe.json
1414# Build dependencies - this is the caching Docker layer!
15- RUN cargo chef cook --release --bin node-handshake --recipe-path recipe.json
15+ RUN cargo chef cook --release --bin p2p_solana_handshake --recipe-path recipe.json
1616# Build application
1717COPY . .
18- RUN cargo build --release --bin node-handshake
18+ RUN cargo build --release --bin p2p_solana_handshake
1919
2020
2121FROM debian:buster-slim AS runtime
2222WORKDIR /app
23- COPY --from=builder /app/target/release/node-handshake /usr/local/bin
24- ENTRYPOINT ["/usr/local/bin/node-handshake " ]
23+ COPY --from=builder /app/target/release/p2p_solana_handshake /usr/local/bin
24+ ENTRYPOINT ["/usr/local/bin/p2p_solana_handshake " ]
You can’t perform that action at this time.
0 commit comments