Skip to content

Commit

Permalink
fix: Fetch cargo packages from registry in Docker build (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley authored Aug 9, 2023
1 parent dc69002 commit 4172d9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions indexer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ ARG CARGO_BUILD_MODE=release
WORKDIR /tmp/
COPY ./ ./
RUN if [ "$CARGO_BUILD_MODE" = "debug" ]; then \
cargo build --package queryapi_coordinator --offline; \
cargo build --package queryapi_coordinator; \
else \
cargo build --release --package queryapi_coordinator --offline; \
cargo build --release --package queryapi_coordinator; \
fi

FROM ubuntu:20.04
Expand Down

0 comments on commit 4172d9a

Please sign in to comment.