From e9913608d2c91edc4fc82605f759f665b5646cd2 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Tue, 21 Nov 2023 20:54:18 +0100 Subject: [PATCH] Limit cpu + retry with another account --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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