Skip to content

Commit 768cdfe

Browse files
build: with a fixed rust toolchain
1 parent 73970be commit 768cdfe

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ COPY --from=planner /app/recipe.json recipe.json
1717

1818
RUN cargo chef cook --release --recipe-path recipe.json
1919

20+
COPY rust-toolchain.toml .
2021
COPY Cargo.toml .
2122
COPY Cargo.lock .
2223
COPY src src

rust-toolchain.toml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[toolchain]
2+
channel = "1.76.0"
3+
components = [ "rustfmt", "clippy", "rust-analyzer" ]
4+
profile = "default"

0 commit comments

Comments
 (0)