Skip to content

Commit

Permalink
fix: rust version in Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
bpetit committed Feb 11, 2025
1 parent 2c85cad commit 98586a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.74 as planner
FROM rust:1.84 as planner
WORKDIR app

RUN cargo install cargo-chef
Expand All @@ -7,15 +7,15 @@ COPY . .
# Analyze dependencies
RUN cargo chef prepare --recipe-path recipe.json

FROM rust:1.74 as cacher
FROM rust:1.84 as cacher
WORKDIR app
RUN cargo install cargo-chef
COPY --from=planner /app/recipe.json recipe.json

# Cache dependencies
RUN cargo chef cook --release --recipe-path recipe.json

FROM rust:1.74 as builder
FROM rust:1.84 as builder
WORKDIR app
COPY . .

Expand Down

0 comments on commit 98586a9

Please sign in to comment.