mirror of
https://github.com/runcitadel/core.git
synced 2024-12-28 15:42:59 +00:00
Another workaround
This commit is contained in:
parent
7de50d9e89
commit
a32b55964c
|
@ -195,6 +195,9 @@ def getApp(appFile: str, appId: str):
|
||||||
|
|
||||||
|
|
||||||
def compose(app, arguments):
|
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
|
# Runs a compose command in the app dir
|
||||||
# Before that, check if a docker-compose.yml exists 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")
|
composeFile = os.path.join(appsDir, app, "docker-compose.yml")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user