diff --git a/acrate_docker/Dockerfile b/acrate_docker/Dockerfile index 7af2e9e..f7c961a 100644 --- a/acrate_docker/Dockerfile +++ b/acrate_docker/Dockerfile @@ -30,3 +30,12 @@ COPY --from=rdserver_build /usr/src/acrate/target/release/acrate_rdserver /usr/l ENTRYPOINT ["acrate_rdserver"] HEALTHCHECK CMD ["curl", "http://127.0.0.1/.healthcheck"] ENV RUST_LOG="warn,acrate_rdserver=info" + +FROM base_builder AS apub_inbox_build +RUN cargo build --release --package=acrate_apub_inbox --bin=acrate_apub_inbox + +FROM base_runner AS apub_inbox +COPY --from=apub_inbox_build /usr/src/acrate/target/release/acrate_apub_inbox /usr/local/bin/acrate_apub_inbox +ENTRYPOINT ["acrate_apub_inbox"] +HEALTHCHECK CMD ["curl", "http://127.0.0.1/.healthcheck"] +ENV RUST_LOG="warn,acrate_apub_inbox=info"