diff --git a/Dockerfile b/Dockerfile index b677ad7..df68204 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,11 @@ FROM rust:1.86.0 as build ENV PKG_CONFIG_ALLOW_CROSS=1 +ENV SCCACHE_DIR=/build-cache +ENV RUSTC_WRAPPER=sccache + +RUN apt update && apt install sccache + WORKDIR . COPY ./api ./api COPY ./libseptastic/ ./libseptastic/