chore: lint fix for Dockerfile
All checks were successful
Rust / build (push) Successful in 1m6s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful

>  2 warnings found (use --debug to expand):
> - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 6)
> - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line
11)
This commit is contained in:
Paul Campbell 2024-07-05 07:46:45 +01:00
parent b0be0f636c
commit cbf6c3b73c

View file

@ -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 . .