Skip to content

Commit

Permalink
hotfix: go bindings (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
arsen3d committed Jul 4, 2024
1 parent 9798a09 commit d79bdd4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docker/chain/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,23 @@ RUN echo "npx hardhat deploy --network devnet" >> run
RUN echo "npx hardhat run scripts/fund-services-ether.ts --network devnet" >> run
RUN echo "npx hardhat run scripts/fund-services-tokens.ts --network devnet " >> run
RUN echo "npx hardhat run scripts/print-l2-config.ts --network devnet" >> run
RUN echo "cd .." >> run
RUN echo "./stack go-bindings" >> run



FROM base AS expose-cloudflare
ARG cloudflare_token_http="not-a-token"
ARG cloudflare_token_ws="not-a-token"

RUN wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64
RUN echo "cd .." >> run
RUN echo "./cloudflared-linux-amd64 tunnel run --token $cloudflare_token_http &" >> run
RUN echo "./cloudflared-linux-amd64 tunnel run --token $cloudflare_token_ws &" >> run
RUN chmod +x cloudflared-linux-amd64

FROM base AS expose-local
RUN echo "cd .." >> run

FROM expose-$expose_via AS FINAL
RUN chmod +x run
RUN echo "wait -n" >> run
ENTRYPOINT ["bash", "./run"]
ENTRYPOINT ["bash", "./run"]

0 comments on commit d79bdd4

Please sign in to comment.