From 29258a3de0896f28fe4b84c0cdd3f2fa9edb6567 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 24 Apr 2024 00:42:45 +0200 Subject: [PATCH] chore: improve cargo cache --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7c951ed6a2..6829a67e85 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,8 @@ RUN rustup component add rustfmt RUN CARGO_NET_GIT_FETCH_WITH_CLI=true cargo install cargo-chef --version ^0.1 RUN cargo install sccache --version ^0.8 +ENV RUSTC_WRAPPER=sccache SCCACHE_DIR=/backend/sccache + WORKDIR /windmill ENV SQLX_OFFLINE=true