From 9dee42d84b973a942e729a9f97ea79a1a13a5ab9 Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Sat, 27 Apr 2024 02:15:48 +0300 Subject: [PATCH] Update DockerContainerApi.php --- web/Modules/Docker/DockerContainerApi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/Modules/Docker/DockerContainerApi.php b/web/Modules/Docker/DockerContainerApi.php index 9bf62f2..3c3aa55 100644 --- a/web/Modules/Docker/DockerContainerApi.php +++ b/web/Modules/Docker/DockerContainerApi.php @@ -68,13 +68,13 @@ class DockerContainerApi // if (!empty($this->environmentVariables)) { // foreach ($this->environmentVariables as $key => $value) { -// $commands[] = '-e ' . $key . '=' . $value; +// $shellFileContent .= ' -e ' . $key . '=' . $value . ' '; // } // } // // if (!empty($this->volumeMapping)) { // foreach ($this->volumeMapping as $key => $value) { -// $commands[] = '-v ' . $key . ':' . $value; +// $shellFileContent .= ' -v ' . $key . ':' . $value . ' '; // } // }