修改build.sh脚本,新增小钢炮专用脚本

This commit is contained in:
iyuu.cn 2020-03-27 14:58:50 +08:00
parent cc7eb9b06a
commit c4a8cef4ce
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
wget -c https://gitee.com/ledc/IYUUAutoReseed/repository/archive/master.zip -O IYUUAutoReseed.zip
unzip -o ./IYUUAutoReseed.zip -d /root
rm ./IYUUAutoReseed.zip
#wget -c https://gitee.com/ledc/IYUUAutoReseed/repository/archive/master.zip -O IYUUAutoReseed.zip
#unzip -o ./IYUUAutoReseed.zip -d /root
#rm ./IYUUAutoReseed.zip
docker build -t iyuu:latest .
docker run -it -v /root/IYUUAutoReseed:/var/www -p 8510:9000 --network bridge --name IYUUAutoReseed --restart always -d iyuu:latest

View File

@ -5,3 +5,4 @@ cd /root/IYUUAutoReseed/docker
chmod +x ./*.sh
docker build -t iyuu:latest .
docker run -it -v /root/IYUUAutoReseed:/var/www -p 8510:9000 --network bridge --name IYUUAutoReseed --restart always -d iyuu:latest
./iyuu.sh