diff --git a/Dockerfile b/Dockerfile index 07cad43..5c4fb2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,8 @@ WORKDIR /app COPY . . # Build the app -RUN cargo leptos build --release -vv +ENV CARGO_BUILD_JOBS=1 +RUN cargo leptos build -j 1 --release -vv FROM rustlang/rust:nightly-bullseye as runner # Copy the server binary to the /app directory