Skip to content

Commit

Permalink
fix(docker): rust version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
mukundhk committed Nov 8, 2024
1 parent 338ac53 commit 3d7ba11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.75.0-slim as base
FROM rust:1.78.0-slim AS base
WORKDIR /usr/src/aot-backend
RUN apt-get update -y && apt-get install -y \
libpq-dev \
Expand All @@ -9,7 +9,7 @@ RUN cargo install diesel_cli --no-default-features --features postgres
RUN cargo install cargo-watch
RUN cargo install cargo-chef

FROM base as planner
FROM base AS planner
COPY . .
RUN cargo chef prepare --recipe-path recipe.json

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.75.0-slim as base
FROM rust:1.78.0-slim AS base
WORKDIR /usr/src/aot-backend
RUN apt-get update -y && apt-get install -y \
libpq-dev \
Expand All @@ -7,7 +7,7 @@ RUN apt-get update -y && apt-get install -y \
libssl-dev
RUN cargo install cargo-chef

FROM base as planner
FROM base AS planner
COPY . .
RUN cargo chef prepare --recipe-path recipe.json

Expand Down

0 comments on commit 3d7ba11

Please sign in to comment.