Skip to content

Commit

Permalink
fix(docker): fix src bullshittery
Browse files Browse the repository at this point in the history
  • Loading branch information
ikr4-m committed Dec 10, 2024
1 parent 9d980e8 commit 77bc04a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ WORKDIR /root
COPY --from=builder /app/clients/cli/target/release/prover /root/prover
# https://github.com/nexus-xyz/network-api/blob/main/clients/cli/src/prover.rs#L171-L174
# Bajingan memang mereka ga bilang ini file penting
COPY --from=builder /app/clients/cli/src /root
COPY --from=builder /app/clients/cli/src /root/src

# Rust ngentot
RUN apk add --no-cache libgcc

# Lokasi prover-id
VOLUME /root/.nexus
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ services:
image: ghcr.io/zuperhunt/nexus-prover:latest
environment:
- NONINTERACTIVE=1
- RUST_BACKTRACE=full
volumes:
- ./storage:/root/.nexus:z
deploy:
Expand Down
12 changes: 12 additions & 0 deletions generate-storage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

docker compose pull
docker run --rm -v "./storage:/root/.nexus" ghcr.io/zuperhunt/nexus-prover:latest \
touch /root/.nexus/prover-id

echo ""
echo "Next step is:
1. Modify prover-id on ./storage/prover-id as root (use sudo) using your ID
2. docker compose up -d
3. ????
4. Profit"

0 comments on commit 77bc04a

Please sign in to comment.