Browse Source

Update docker.py

qiaofeng1227 2 years ago
parent
commit
2f269ef9ca
1 changed files with 1 additions and 0 deletions
  1. 1 0
      appmanage/api/utils/docker.py

+ 1 - 0
appmanage/api/utils/docker.py

@@ -12,6 +12,7 @@ def get_process_perc(app_name):
     process_now = "0%"
     process_now = "0%"
     path = "/data/apps/" + app_name + "/.env"
     path = "/data/apps/" + app_name + "/.env"
     app_version = read_env(path, "APP_VERSION")
     app_version = read_env(path, "APP_VERSION")
+    print(app_version)
     client = docker.from_env()
     client = docker.from_env()
     image_name = app_name + ":" + app_version
     image_name = app_name + ":" + app_version
     print(resp)
     print(resp)