1
0
mirror of https://github.com/ONLYOFFICE/DocSpace-buildtools.git synced 2025-04-18 13:44:02 +03:00

Docker: Run backed DEV: Add Total process Time Elapsed

This commit is contained in:
Alexey Safronov 2024-11-06 21:33:10 +04:00
parent 284b1125b5
commit 40fe494777

View File

@ -8,6 +8,7 @@ import sys
import getopt
import shutil
import platform
import time
def help():
@ -110,6 +111,8 @@ for opt, arg in opts:
print("Error: Invalid '-" + opt + "' option")
sys.exit()
start = time.time()
print("Run script directory:", dir)
print("Root directory:", dir)
print("Docker files root directory:", dockerDir)
@ -375,3 +378,12 @@ if dns == True and standalone == False:
else:
hostname = socket.gethostname()
print(f"DOCSPACE_URL: http://{hostname} or http://[your_local_ipv4]")
end = time.time()
delta = end - start
print()
print(f"Time Elapsed {time.strftime(
'%H:%M:%S', time.gmtime(delta))}")
print()