From f5095c19c599390cc9b1b2a85bb3f2d5c27a9ce7 Mon Sep 17 00:00:00 2001 From: tuddman Date: Thu, 27 Jun 2024 21:32:26 +0200 Subject: [PATCH] fix: serve binary from /var/apps --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index acc0475..08097a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,6 @@ RUN cargo build --release FROM debian:bullseye-slim RUN apt-get update && apt-get install -COPY --from=builder /code/target/release/xmtp-message-history-server /usr/local/bin/xmtp-message-history-server +COPY --from=builder /code/target/release/xmtp-message-history-server /var/apps/ ENV RUST_LOG=info -CMD ["xmtp-message-history-server"] +CMD ["/var/apps/xmtp-message-history-server"]