Update app/Jobs/ApplicationDeploymentJob.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
123c849010
commit
933a67645f
1 changed files with 1 additions and 1 deletions
|
|
@ -2705,7 +2705,7 @@ private function build_image()
|
|||
]
|
||||
);
|
||||
}
|
||||
$publishDir = ltrim($this->application->publish_directory, '/');
|
||||
$publishDir = trim($this->application->publish_directory, '/');
|
||||
$publishDir = $publishDir ? "/{$publishDir}" : '';
|
||||
$dockerfile = base64_encode("FROM {$this->application->static_image}
|
||||
WORKDIR /usr/share/nginx/html/
|
||||
|
|
|
|||
Loading…
Reference in a new issue