mirror of
https://github.com/alexgo-io/bitcoin-indexer.git
synced 2026-04-30 20:51:51 +08:00
refactor: chainhook_event_observer to chainhook_sdk
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
FROM rust:bullseye as build
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
RUN apt update && apt install -y ca-certificates pkg-config libssl-dev libclang-11-dev
|
||||
|
||||
RUN rustup update 1.67.0 && rustup default 1.67.0
|
||||
|
||||
COPY ./components/chainhook-types-rs /src/components/chainhook-types-rs
|
||||
|
||||
COPY ./components/chainhook-event-observer /src/components/chainhook-event-observer
|
||||
|
||||
WORKDIR /src/components/chainhook-event-observer
|
||||
|
||||
RUN mkdir /out
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
RUN cp target/release/chainhook-event-observer /out
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
RUN apt update && apt install -y ca-certificates libssl-dev
|
||||
|
||||
COPY --from=build /out/ /bin/
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
ENTRYPOINT ["chainhook-event-observer"]
|
||||
@@ -10,7 +10,7 @@ COPY ./components/chainhook-cli /src/components/chainhook-cli
|
||||
|
||||
COPY ./components/chainhook-types-rs /src/components/chainhook-types-rs
|
||||
|
||||
COPY ./components/chainhook-event-observer /src/components/chainhook-event-observer
|
||||
COPY ./components/chainhook-sdk /src/components/chainhook-sdk
|
||||
|
||||
WORKDIR /src/components/chainhook-cli
|
||||
|
||||
|
||||
Reference in New Issue
Block a user