mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-08-25 07:24:52 +00:00
新增docker容器安装使用方法
This commit is contained in:
6
docker/build.sh
Normal file
6
docker/build.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
curl -o ./IYUUAutoReseed.zip http://api.iyuu.cn/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
|
Reference in New Issue
Block a user