fix: Chef cook uses wrong toolchain
This commit is contained in:
@@ -11,6 +11,7 @@ RUN cargo chef prepare --recipe-path recipe.json
|
||||
FROM base AS builder
|
||||
# HACK: Now we can use unstable feature while on stable rust!
|
||||
ENV RUSTC_BOOTSTRAP=1
|
||||
COPY ./rust-toolchain.toml .
|
||||
COPY --from=planner /app/recipe.json recipe.json
|
||||
RUN cargo chef cook --release --recipe-path recipe.json
|
||||
|
||||
|
||||
Reference in New Issue
Block a user