build_date = `date +%Y%m%d%H%M` version = `git rev-parse --short HEAD` image-dev = SXKJ:32775/yili-dag-frontend:$(build_date) .PHONY: dev all: idctest sxkj txtest dev: @docker build . \ -t $(image-dev) \ -f Dockerfile idctest: @docker build . -t registry.cn-hangzhou.aliyuncs.com/sxtest/dag-frontend:idctest -f Dockerfile.idctest @docker push registry.cn-hangzhou.aliyuncs.com/sxtest/dag-frontend:idctest sxkj: @docker build . -t SXKJ:32775/dag-frontend:sxkj -f Dockerfile.sxkj @docker push SXKJ:32775/dag-frontend:sxkj txtest: @docker build . -t registry.cn-hangzhou.aliyuncs.com/sxtest/dag-frontend:txtest -f Dockerfile.txtest @docker push registry.cn-hangzhou.aliyuncs.com/sxtest/dag-frontend:txtest txprod: @docker build . -t registry.cn-hangzhou.aliyuncs.com/sxtest/dag-frontend:txprod -f Dockerfile.txprod @docker push registry.cn-hangzhou.aliyuncs.com/sxtest/dag-frontend:txprod rsync: @rsync -azP --exclude ".*/" --exclude "tmp/" `pwd` sxkj@192.168.199.109:/home/sxkj/zhangli/ai-proj-demo