diff --git a/backend/Dockerfile b/backend/Dockerfile index bd5d3bc..4cfdbd0 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -3,7 +3,9 @@ FROM rust:slim-bookworm AS builder COPY ./Cargo.toml ./Cargo.lock ./ RUN cargo fetch COPY ./src ./src -RUN cargo build --release + +RUN rustup target add x86_64-unknown-linux-musl +RUN cargo build --release --target x86_64-unknown-linux-musl FROM debian:bookworm-slim