|
@@ -1,7 +1,19 @@
|
|
|
|
|
|
-git clone https://github.com/pytorch/serve.git
|
|
|
-cd serve/docker &&
|
|
|
+{
|
|
|
+ git clone https://github.com/pytorch/serve.git
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ echo "git clone https://github.com/pytorch/serve.git successfully 😊😊😊"
|
|
|
+} || {
|
|
|
+ echo "git clone https://github.com/pytorch/serve.git failed 🤢🤢🤢"
|
|
|
+}
|
|
|
|
|
|
+cd serve/docker &&
|
|
|
+echo "cd server/docker..." &&
|
|
|
|
|
|
|
|
|
|
|
@@ -9,4 +21,6 @@ cd serve/docker &&
|
|
|
|
|
|
|
|
|
|
|
|
-./build_image.sh -g -cv cu111 -t torchserve:1.0 -bt production -b master
|
|
|
+echo "./build_image.sh -g -cv cu111 -t torchserve:1.0 -bt production -b master ..." &&
|
|
|
+./build_image.sh -g -cv cu111 -t torchserve:1.0 -bt production -b master &&
|
|
|
+echo "install torcher_server docker finally ~"
|