Skip to content

Commit

Permalink
fix: set --jobs in the main Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolai Rodionov committed Mar 16, 2023
1 parent 1c29b32 commit 3f6e888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f6e888

Please sign in to comment.