Skip to content

Commit

Permalink
Change CMD for ENTRYPOINT
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand committed Apr 24, 2024
1 parent ad121db commit 4cf1b9d
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
Expand Up @@ -20,17 +20,18 @@ ENV MIX_ENV=prod

RUN mix local.hex --force

RUN apt update && apt install -y cmake
# Install dependencies
RUN apt update
RUN apt install -y cmake

# Install rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="${PATH}:/root/.cargo/bin"

COPY . .
COPY --from=libp2p_builder /libp2p_port/libp2p_port /app/priv/native/libp2p_port

RUN mix deps.get

RUN mix compile

CMD ["sh"]
# CMD ["iex", "-S", "mix", "run", "--", "--checkpoint-sync-url", "https://sepolia.checkpoint-sync.ethpandaops.io/", "--network", "sepolia", "--metrics", "--validator-file", "validator_sepolia.txt"]
ENTRYPOINT [ "iex", "-S", "mix", "run", "--"]

0 comments on commit 4cf1b9d

Please sign in to comment.