Some more fixes

This commit is contained in:
AaronDewes 2022-04-10 19:15:18 +00:00
parent d8cf6de9c4
commit 09bb3c3367

View File

@ -87,7 +87,7 @@ def configureMainPort(app: AppStage2, nodeRoot: str) -> AppStage3:
if mainPort: if mainPort:
app.metadata.internalPort = int(mainPort) app.metadata.internalPort = int(mainPort)
else: else:
app.metadata.internalPort = int(containerPort) app.metadata.internalPort = int(port["publicPort"])
for registryApp in registry: for registryApp in registry:
if registryApp['id'] == app.metadata.id: if registryApp['id'] == app.metadata.id: