Another workaround

This commit is contained in:
Aaron Dewes 2022-02-19 18:33:05 +01:00
parent 7de50d9e89
commit a32b55964c

View File

@ -195,6 +195,9 @@ def getApp(appFile: str, appId: str):
def compose(app, arguments):
if not os.isdir(os.path.join(appsDir, app)):
print("Warning: App {} doesn't exist on Citadel".format(app))
return
# Runs a compose command in the app dir
# Before that, check if a docker-compose.yml exists in the app dir
composeFile = os.path.join(appsDir, app, "docker-compose.yml")