From 21bf2887d9fff1bc09271bb5c6463cb0ac36320d Mon Sep 17 00:00:00 2001 From: Filip Niklas <118931755+Firgrep@users.noreply.github.com> Date: Sun, 26 May 2024 22:05:01 +0200 Subject: [PATCH] fix: docker pathing --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ddc76de..f59b473 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,6 @@ COPY . . RUN cargo build --release FROM debian:stable-slim AS runtime -COPY --from=builder /caravan/target/release/caravan /caravan +COPY --from=builder /caravan/target/release/caravan /usr/local/bin/ EXPOSE 8080 -CMD ["/usr/local/bin/caravan"] +ENTRYPOINT ["/usr/local/bin/caravan"]