Skip to content

Commit 3d7ba11

Browse files
committed
fix(docker): rust version upgrade
1 parent 338ac53 commit 3d7ba11

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.75.0-slim as base
1+
FROM rust:1.78.0-slim AS base
22
WORKDIR /usr/src/aot-backend
33
RUN apt-get update -y && apt-get install -y \
44
libpq-dev \
@@ -9,7 +9,7 @@ RUN cargo install diesel_cli --no-default-features --features postgres
99
RUN cargo install cargo-watch
1010
RUN cargo install cargo-chef
1111

12-
FROM base as planner
12+
FROM base AS planner
1313
COPY . .
1414
RUN cargo chef prepare --recipe-path recipe.json
1515

Dockerfile.prod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.75.0-slim as base
1+
FROM rust:1.78.0-slim AS base
22
WORKDIR /usr/src/aot-backend
33
RUN apt-get update -y && apt-get install -y \
44
libpq-dev \
@@ -7,7 +7,7 @@ RUN apt-get update -y && apt-get install -y \
77
libssl-dev
88
RUN cargo install cargo-chef
99

10-
FROM base as planner
10+
FROM base AS planner
1111
COPY . .
1212
RUN cargo chef prepare --recipe-path recipe.json
1313

0 commit comments

Comments
 (0)