diff --git a/Dockerfile b/Dockerfile index 38c18d8..004af85 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ WORKDIR /app COPY . . # Build the Rust project -RUN cargo rustc --release +RUN cargo rustc --release -- -C target-feature=+crt-static # Second stage: Create a smaller runtime image FROM debian:buster-slim