mirror of
https://github.com/letian1650/N3RD.git
synced 2025-01-24 19:45:01 +08:00
13 lines
441 B
Bash
13 lines
441 B
Bash
#!/bin/bash
|
|
# 建立文件夹
|
|
mkdir -p /home/pywork/dr_py && cd /home/pywork/dr_py
|
|
# 下载仓库包
|
|
wget https://ghproxy.net/https://github.com/hjdhnx/dr_py/archive/refs/heads/main.zip -O dr_py.zip
|
|
# 解压
|
|
unzip dr_py.zip
|
|
# 移动文件到当前目录
|
|
mv dr*/* ./
|
|
# 清理临时文件
|
|
rm *.zip
|
|
# 启动容器
|
|
# docker run -it -p 5705:5705 -p 9001:9001 -v /home/pywork/dr_py:/root/sd/pywork/dr_py --restart=always --name drpy -d hjdhnx/drpy |