Ver Fonte

增加前端编译

root há 3 anos atrás
pai
commit
95e535bc40
1 ficheiros alterados com 7 adições e 0 exclusões
  1. 7 0
      docker/build.sh

+ 7 - 0
docker/build.sh

@@ -0,0 +1,7 @@
+#/bin/bash
+home=$(dirname `readlink -f $0`)
+\cp -f $home/.env.production  $home/../Web/.env.production
+cd $home/../Web
+cnpm i
+cnpm run build
+\cp -rf dist $home/nginx/