| 12345678910111213141516171819202122232425262728 | FROM lukemathwalker/cargo-chef:latest-rust-1.53.0 as chefWORKDIR /appFROM chef as plannerCOPY . .RUN cargo chef prepare  --recipe-path recipe.jsonFROM chef as builderCOPY --from=planner /app/recipe.json recipe.json# Build dependenciesRUN cargo chef cook --release --recipe-path recipe.jsonCOPY . .ENV SQLX_OFFLINE true# Build our projectRUN cargo build --release --bin backendFROM debian:bullseye-slim AS runtimeWORKDIR /appRUN apt-get update -y \    && apt-get install -y --no-install-recommends openssl \    # Clean up    && apt-get autoremove -y \    && apt-get clean -y \    && rm -rf /var/lib/apt/lists/*COPY --from=builder /app/target/release/backend backendCOPY configuration configurationENV APP_ENVIRONMENT productionENTRYPOINT ["./backend"]
 |