Skip to content

Commit

Permalink
build: with a fixed rust toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
vohoanglong0107 committed May 21, 2024
1 parent 73970be commit 768cdfe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[toolchain]
channel = "1.76.0"
components = [ "rustfmt", "clippy", "rust-analyzer" ]
profile = "default"

0 comments on commit 768cdfe

Please sign in to comment.