diff --git a/Dockerfile b/Dockerfile index e733f179..fe78fb7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,7 @@ COPY --from=planner /app/recipe.json recipe.json RUN cargo chef cook --release --recipe-path recipe.json +COPY rust-toolchain.toml . COPY Cargo.toml . COPY Cargo.lock . COPY src src diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 00000000..b7d83213 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,4 @@ +[toolchain] +channel = "1.76.0" +components = [ "rustfmt", "clippy", "rust-analyzer" ] +profile = "default"