mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-16 22:42:57 +00:00
Do not rewrite variable with another value
This commit is contained in:
@@ -38,11 +38,10 @@ def test_matplotlib(
|
|||||||
cont_data_dir = "/home/jovyan/data"
|
cont_data_dir = "/home/jovyan/data"
|
||||||
output_dir = "/tmp"
|
output_dir = "/tmp"
|
||||||
LOGGER.info(description)
|
LOGGER.info(description)
|
||||||
command = "sleep infinity"
|
|
||||||
running_container = container.run_detached(
|
running_container = container.run_detached(
|
||||||
volumes={str(host_data_dir): {"bind": cont_data_dir, "mode": "ro"}},
|
volumes={str(host_data_dir): {"bind": cont_data_dir, "mode": "ro"}},
|
||||||
tty=True,
|
tty=True,
|
||||||
command=["bash", "-c", command],
|
command=["bash", "-c", "sleep infinity"],
|
||||||
)
|
)
|
||||||
command = f"python {cont_data_dir}/{test_file}"
|
command = f"python {cont_data_dir}/{test_file}"
|
||||||
cmd = running_container.exec_run(command)
|
cmd = running_container.exec_run(command)
|
||||||
|
Reference in New Issue
Block a user