mirror of
https://github.com/autistic-symposium/mev-toolkit.git
synced 2025-07-29 09:18:53 -04:00
Move create_docker.sh to scripts (#16)
This commit is contained in:
parent
be37b0ce02
commit
1e58c9fadc
1 changed files with 0 additions and 17 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue