mirror of
https://github.com/autistic-symposium/mev-toolkit.git
synced 2025-04-27 11:19:13 -04:00
Move create_docker.sh to scripts (#16)
This commit is contained in:
parent
be37b0ce02
commit
1e58c9fadc
@ -1,17 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
PORT=${PORT:-18545}
|
||||
|
||||
echo "Building local blockchain container"
|
||||
|
||||
docker build -t <docker container alias> .
|
||||
|
||||
echo "Starting blockchain network on port $PORT (use rpc URL http://localhost:$PORT)"
|
||||
|
||||
docker run -it --rm \
|
||||
-v $(pwd)/genesis.json:/genesis.json \
|
||||
-v $(pwd)/data:/data \
|
||||
-p $PORT:8545 \
|
||||
<docker container alias>
|
Loading…
x
Reference in New Issue
Block a user