diff --git a/Dockerfile b/Dockerfile index 9632c0d..ddc76de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ WORKDIR /caravan COPY . . RUN cargo build --release -FROM scratch +FROM debian:stable-slim AS runtime COPY --from=builder /caravan/target/release/caravan /caravan EXPOSE 8080 -CMD ["/caravan"] +CMD ["/usr/local/bin/caravan"]