don't run docker in interactive mode
This commit is contained in:
parent
6cb0fe1550
commit
e545f09bb4
@ -262,7 +262,6 @@ fn run_local_docker(port: u16) -> Result<Child, DynError> {
|
|||||||
"--env",
|
"--env",
|
||||||
format!("ROCKET_PORT={}", port).as_str(),
|
format!("ROCKET_PORT={}", port).as_str(),
|
||||||
"--network=host",
|
"--network=host",
|
||||||
"-i",
|
|
||||||
"--rm",
|
"--rm",
|
||||||
"local_snake",
|
"local_snake",
|
||||||
])
|
])
|
||||||
@ -293,7 +292,6 @@ fn run_production(port: u16) -> Result<Child, DynError> {
|
|||||||
"--env",
|
"--env",
|
||||||
format!("ROCKET_PORT={}", port).as_str(),
|
format!("ROCKET_PORT={}", port).as_str(),
|
||||||
"--network=host",
|
"--network=host",
|
||||||
"-i",
|
|
||||||
"--rm",
|
"--rm",
|
||||||
"docker.mkaenner.de/snake:latest",
|
"docker.mkaenner.de/snake:latest",
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user