Update Dockerfile

This commit is contained in:
gigirassy
2026-05-28 18:48:17 +02:00
parent 20fab7d5ba
commit 1451f4e277
+3 -1
View File
@@ -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