mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 22:14:26 +00:00
Fix directory creation issue in LocalFileVolume.php and parseDockerComposeFile()
This commit is contained in:
1 parent
a7ab5d55d3
commit
6dd86eec30
2 files changed
+5
-3
No files matched your search
@@ -39,7 +39,7 @@ class LocalFileVolume extends BaseModel
|
||||
if (!$fileVolume->is_directory && $isDir == 'NOK') {
|
||||
$content = base64_encode($content);
|
||||
$commands->push("echo '$content' | base64 -d > $path");
|
||||
} else if ($isDir == 'NOK' && $fileVolume->is_directory) {
|
||||
} else if ($isDir == 'NOK' && $fileVolume->is_directory) {
|
||||
$commands->push("mkdir -p $path > /dev/null 2>&1 || true");
|
||||
}
|
||||
ray($commands->toArray());
|
||||
|
||||
Reference in new issue
Block a user