diff --git a/Dockerfile b/Dockerfile index c4cabeb5..bfcd6d79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,7 @@ FROM base as build COPY --from=plan /app/recipe.json recipe.json RUN cargo chef cook --release --recipe-path recipe.json COPY . . +ENV RUSTFLAGS="--cfg tokio_unstable" RUN cargo build --release --bin lite-rpc --bin solana-lite-rpc-quic-forward-proxy FROM debian:bookworm-slim as run @@ -21,4 +22,4 @@ RUN apt-get update && apt-get -y install ca-certificates libc6 libssl3 libssl-de COPY --from=build /app/target/release/solana-lite-rpc-quic-forward-proxy /usr/local/bin/ COPY --from=build /app/target/release/lite-rpc /usr/local/bin/ -CMD lite-rpc \ No newline at end of file +CMD lite-rpc