WIP: fixing docker issues

This commit is contained in:
Gui Heise 2021-09-07 15:02:21 -04:00
parent 26d9918eb1
commit 5be81ececf
2 changed files with 7 additions and 6 deletions

View File

@ -9,18 +9,18 @@ import click
def start(d: str):
"""if d is present, run docker compose as daemon"""
if d:
check_call(["docker-compose", "up", "-d"])
check_call(["docke", "compose", "up", "-d"])
click.echo("docker running in the background...")
else:
check_call(["docker-compose", "up"])
check_call(["docker", "compose", "up"])
def stop():
check_call(["docker-compose", "down"])
check_call(["docker", "compose", "down"])
def build():
check_call(["docker-compose", "build"])
check_call(["docker", "compose", "build"])
def attach():
@ -30,4 +30,4 @@ def attach():
@click.command()
@click.argument("args", nargs=-1)
def exec(args: List[str]):
check_call(["docker-compose", "exec", "mev-inspect", *args])
check_call(["docker", "compose", "exec", "mev-inspect", *args])

View File

@ -18,7 +18,8 @@ import click
def inspect(block_number: str, rpc: str, cache: bool):
check_call(
[
"docker-compose",
"docker",
"compose",
"exec",
"mev-inspect",
"python",