Update docker.py

This commit is contained in:
童颖佳 2023-03-30 14:18:01 +08:00 committed by GitHub
parent b6d653bc54
commit 2ca616e984
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,7 +97,6 @@ def check_directory(path):
def check_app_compose(path):
myLogger.info_logger("Checking port...")
path = "/data/apps/" + app_name + "/.env"
port_dic = read_env(path, "APP_.*_PORT")
# 1.判断/data/apps/app_name/.env中的port是否占用没有被占用方法结束get_start_port方法
for port_name in port_dic: