Skip to content

Commit

Permalink
fix(docker): use an alternative method to fetch registry
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Nov 20, 2022
1 parent f2def40 commit 876b13b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN cargo chef prepare --recipe-path recipe.json

FROM chef AS builder
COPY --from=planner /app/recipe.json recipe.json
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
RUN cargo chef cook --release --recipe-path recipe.json
COPY . .
RUN cargo build --release --locked --no-default-features
Expand Down

0 comments on commit 876b13b

Please sign in to comment.