Skip to content

Commit

Permalink
chore: fix indexer docker build (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
rinor authored May 13, 2024
1 parent 013f581 commit b3ba824
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
FROM rust:1.73 AS x-builder

WORKDIR /indexer
WORKDIR /app

COPY ./indexer ./
COPY ./Cargo.* ./
COPY ./indexer ./indexer

RUN cargo build --release -p carp -p migration

WORKDIR /ops

RUN cp /indexer/target/release/carp .
RUN cp /indexer/target/release/migration .
RUN cp /app/target/release/carp .
RUN cp /app/target/release/migration .

COPY ./indexer/genesis ./genesis
COPY ./indexer/execution_plans ./execution_plans
Expand Down

0 comments on commit b3ba824

Please sign in to comment.