Skip to content

Commit

Permalink
add prebuild script
Browse files Browse the repository at this point in the history
  • Loading branch information
raghav-rama committed Nov 28, 2024
1 parent 2d128cd commit de8442d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .platform/hooks/prebuild/01_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
docker build --build-arg ADMIN_KEYPAIR="${ADMIN_KEYPAIR}" -t leveragefunbot .
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ WORKDIR /app

RUN mkdir -p /root/.config/solana

ARG ADMIN_KEYPAIR
RUN echo "${ADMIN_KEYPAIR}" > /root/.config/solana/5kRot8UnMEqoDkAc72e7pqaEaF5hxGmbDNowMmPiCDmb.json && \
chmod 600 /root/.config/solana/5kRot8UnMEqoDkAc72e7pqaEaF5hxGmbDNowMmPiCDmb.json

Expand Down

0 comments on commit de8442d

Please sign in to comment.