fix: empty port in docker compose
This commit is contained in:
parent
c0940f7a19
commit
7f7eb12ded
@ -95,7 +95,7 @@ export default async function (data) {
|
||||
value['volumes'].push(volume);
|
||||
}
|
||||
}
|
||||
if (dockerComposeConfiguration[key].port) {
|
||||
if (dockerComposeConfiguration[key]?.port) {
|
||||
value['expose'] = [dockerComposeConfiguration[key].port];
|
||||
}
|
||||
if (value['networks']?.length > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user