diff --git a/Dockerfile b/Dockerfile index 8eb5d0b..660d220 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /app COPY Cargo.toml . COPY src ./src -RUN .cargo/bin/rustup rustup target add x86_64-unknown-linux-musl +RUN ~/.cargo/bin/rustup target add x86_64-unknown-linux-musl RUN RUSTFLAGS="-Ctarget-feature=+crt-static" cargo build --release --target x86_64-unknown-linux-musl