From 3f6e88809e752c5903ffd41230202512487b598f Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Thu, 16 Mar 2023 16:55:34 +0100 Subject: [PATCH] fix: set --jobs in the main Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0587e3d..a920113 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM rust:1.66.1-alpine3.17 as builder WORKDIR /src RUN apk update && apk add --no-cache gcc musl-dev COPY ./ . -RUN cargo build --release +RUN cargo build --release --jobs 2 FROM alpine:3.17.1 COPY --from=builder /src/target/release/cdh /bin/cdh