We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b8eccd commit 7058cd2Copy full SHA for 7058cd2
Dockerfile
@@ -1,16 +1,16 @@
1
-FROM rust:1.80 as base
+FROM rust:1.80 AS base
2
3
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
4
5
RUN cargo install cargo-chef
6
7
-FROM base as planner
+FROM base AS planner
8
9
WORKDIR /app
10
COPY . .
11
RUN cargo chef prepare --recipe-path recipe.json
12
13
-FROM base as build
+FROM base AS build
14
15
16
COPY --from=planner /app/recipe.json recipe.json
@@ -25,7 +25,7 @@ COPY src src
25
26
RUN cargo build --release
27
28
-FROM ubuntu:22.04 as runtime
+FROM ubuntu:22.04 AS runtime
29
30
WORKDIR /
31
0 commit comments