From 44180f5d34d3955d31d0579529bd0e436e673e8c Mon Sep 17 00:00:00 2001 From: Shadowy Super Coder Date: Thu, 15 Aug 2024 14:38:34 -0600 Subject: [PATCH] refactor fs --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0ab286f..9579456 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,11 +12,9 @@ RUN cargo build --release # Final FROM debian:bookworm-slim -WORKDIR /app - -COPY --from=builder /app/target/release/btc_rpc_proxy /app/btc_rpc_proxy +COPY --from=builder /app/target/release/btc_rpc_proxy /usr/bin/btc_rpc_proxy -RUN chmod +x /app/btc_rpc_proxy +RUN chmod +x /usr/bin/btc_rpc_proxy SHELL [ "/bin/bash", "-c" ] -ENTRYPOINT chmod 600 /app/btc_rpc_proxy.toml && exec /app/btc_rpc_proxy --conf /app/btc_rpc_proxy.toml \ No newline at end of file +ENTRYPOINT chmod 600 /etc/btc_rpc_proxy.toml && exec /usr/bin/btc_rpc_proxy --conf /etc/btc_rpc_proxy.toml \ No newline at end of file