Skip to content

Commit

Permalink
chore: fix indexer docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
rinor committed May 13, 2024
1 parent cc9defa commit 479b21c
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.toml ./
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 479b21c

Please sign in to comment.