import os, sys
import zipfile
import shutil

cmd = "git clone http://192.168.2.95:8090/xuxu/Lic \t\n"
cmd += "cd Lic \t\n"
cmd += "yarn install\t\n"
cmd += "yarn run build\t\n"
cmd += "docker build -t lic-system .\t\n"
cmd += "docker tag lic-system 192.168.2.141:5000/lic-system\t\n"
cmd += "docker push 192.168.2.141:5000/lic-system\t\n"
cmd += "cd .. \t\n"
cmd += "rm -r -f Lic \t\n"

os.system(cmd)
