Skip to content

Commit

Permalink
refactor fs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominion5254 committed Aug 15, 2024
1 parent a498e01 commit 44180f5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
ENTRYPOINT chmod 600 /etc/btc_rpc_proxy.toml && exec /usr/bin/btc_rpc_proxy --conf /etc/btc_rpc_proxy.toml

0 comments on commit 44180f5

Please sign in to comment.