refactor: chainhook_event_observer to chainhook_sdk

This commit is contained in:
Ludo Galabru
2023-06-08 06:57:12 -04:00
parent bcd2a45a86
commit 48ec25c523
57 changed files with 48 additions and 92 deletions

View File

@@ -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"]

View File

@@ -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