-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from installing apibara into ubuntu to using the apibara webho…
…ok image
- Loading branch information
1 parent
f62a06e
commit 3e71cf8
Showing
2 changed files
with
3 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,6 @@ | ||
FROM ubuntu:24.04 | ||
|
||
# Install prerequisites | ||
RUN apt-get update && apt-get install -y \ | ||
curl jq | ||
RUN curl -sL https://install.apibara.com | bash | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
RUN /root/.local/share/apibara/bin/apibara plugins install sink-webhook | ||
FROM quay.io/apibara/sink-webhook:0.6.0 as sink-webhook | ||
|
||
WORKDIR /indexer | ||
COPY ./indexer/docker-script.js . | ||
|
||
CMD ["source", "/deployment/.env", "&&", "/root/.local/share/apibara/bin/apibara", "run", "docker-script.js", "--allow-env-from-env", "ART_PEACE_CONTRACT_ADDRESS"] | ||
CMD ["run", "docker-script.js", "--allow-env", "/deployment/.env"] |