From 1a43fdfcc5e443eb82db98b0acdcfd8004a268ec Mon Sep 17 00:00:00 2001 From: Fuxing Loh Date: Mon, 18 Mar 2024 16:49:18 +0800 Subject: [PATCH] chore: expose port and add libssl-dev --- packages/solana-container/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/solana-container/Dockerfile b/packages/solana-container/Dockerfile index dd9ae6d..921e0b0 100644 --- a/packages/solana-container/Dockerfile +++ b/packages/solana-container/Dockerfile @@ -22,9 +22,10 @@ RUN cargo build --bin solana-test-validator --release FROM debian:bullseye as final RUN apt update && \ - apt-get install -y bzip2 && \ + apt-get install -y bzip2 libssl-dev && \ rm -rf /var/lib/apt/lists/* COPY --from=builder /workspace/solana/target/release/solana-test-validator /bin/solana-test-validator +EXPOSE 8899 8900 CMD ["solana-test-validator"]