File size: 286 Bytes
dd58921 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | import argparse
import subprocess
parser = argparse.ArgumentParser()
parser.add_argument("--tag", type=str, default="cleanrl:latest", help="the name of this experiment")
args = parser.parse_args()
subprocess.run(
f"docker build -t {args.tag} .",
shell=True,
check=True,
)
|