Browse Source

add rsync makefile

Zhang Li 1 year ago
parent
commit
4b7bc17796
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Makefile

+ 5 - 1
Makefile

@@ -38,4 +38,8 @@ txprod:
 	@sed 's#http.*\.com#http://aihub-dag\.digitalyili\.com#' -i  packages/jldbq-extenison/src/api/config.ts
 	@sed 's#http.*\.com#http://aihub-dag\.digitalyili\.com#' -i  packages/filebrowser/src/api/config.ts
 	@docker build -f Dockerfile.dev  --target image-txprod -t registry.cn-hangzhou.aliyuncs.com/sxtest/jupyterlab:txprod .
-	@docker push registry.cn-hangzhou.aliyuncs.com/sxtest/jupyterlab:txprod
+	@docker push registry.cn-hangzhou.aliyuncs.com/sxtest/jupyterlab:txprod
+
+
+rsync:
+	@rsync -azP --exclude ".*/"  --exclude "tmp/" `pwd` sxkj@192.168.199.109:/home/sxkj/zhangli/jupyterlab