From 1451f4e277cd5f6977fd0b8e30e3ecf425ffea86 Mon Sep 17 00:00:00 2001 From: gigirassy Date: Thu, 28 May 2026 18:48:17 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7c06116..d3f8be9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,9 @@ WORKDIR /app COPY Cargo.toml . COPY src ./src -RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain unknown-linux-musl -y +RUN curl https://sh.rustup.rs -sSf | sh -s -- -y + +RUN rustup target add x86_64-unknown-linux-musl RUN RUSTFLAGS="-Ctarget-feature=+crt-static" cargo build --release --target x86_64-unknown-linux-musl