diff --git a/Dockerfile b/Dockerfile index d2a0622..1595fd2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,12 +3,12 @@ FROM git.kemitix.net/kemitix/git-next-builder:latest AS chef WORKDIR /app -FROM chef as planner +FROM chef AS planner COPY Cargo.toml ./ COPY crates crates RUN cargo chef prepare --recipe-path recipe.json -FROM chef as builder +FROM chef AS builder COPY --from=planner /app/recipe.json recipe.json RUN cargo chef cook --profile release --recipe-path recipe.json COPY . .