fix: only parse expose in dockerfiles if ports_exposes is empty
This commit is contained in:
parent
ed6af777a4
commit
41672f75d0
@ -127,7 +127,7 @@ public function submit()
|
||||
}
|
||||
if (data_get($this->application, 'dockerfile')) {
|
||||
$port = get_port_from_dockerfile($this->application->dockerfile);
|
||||
if ($port) {
|
||||
if ($port && !$this->application->ports_exposes) {
|
||||
$this->application->ports_exposes = $port;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user