Skip to content

Commit

Permalink
accept conf as a runtime mount
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominion5254 committed Aug 15, 2024
1 parent 941cb48 commit 0772278
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ WORKDIR /app

COPY --from=builder /app/target/release/btc_rpc_proxy /app/btc_rpc_proxy

COPY btc_rpc_proxy.toml /app/btc_rpc_proxy.toml

RUN chmod 600 /app/btc_rpc_proxy.toml
RUN chmod +x /app/btc_rpc_proxy

CMD [ "/app/btc_rpc_proxy", "--conf", "btc_rpc_proxy.toml" ]
SHELL [ "/bin/bash", "-c" ]
ENTRYPOINT chmod 600 /app/btc_rpc_proxy.toml && exec /app/btc_rpc_proxy --conf /app/btc_rpc_proxy.toml

0 comments on commit 0772278

Please sign in to comment.