Update hord.dockerfile

This commit is contained in:
Ludo Galabru
2023-07-14 13:50:14 -04:00
committed by GitHub
parent bb442f12a7
commit f471623b0f

View File

@@ -8,15 +8,13 @@ RUN rustup update 1.67.0 && rustup default 1.67.0
COPY ./components/hord-cli /src/components/hord-cli
COPY ./components/hord-core /src/components/hord-core
WORKDIR /src/components/hord-cli
RUN mkdir /out
RUN cargo build --features release --release
RUN cp target/release/chainhook /out
RUN cp target/release/hord /out
FROM debian:bullseye-slim
@@ -26,4 +24,4 @@ COPY --from=build /out/ /bin/
WORKDIR /workspace
ENTRYPOINT ["hord"]
ENTRYPOINT ["hord"]