mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
1. 优化网站连接失败错误返回信息
2. 继续优化在线更新功能 3. 优化MT个人数据获取规则
This commit is contained in:
@@ -22,7 +22,8 @@ WORKDIR /var/www/html/ptools
|
||||
|
||||
# 将当前目录加入到工作目录中(. 表示当前目录)
|
||||
ADD . /var/www/html/ptools
|
||||
|
||||
# git pull最新
|
||||
RUN git config pull.ff only
|
||||
# 更新pip版本
|
||||
RUN /usr/local/bin/python -m pip install --upgrade pip
|
||||
|
||||
|
||||
@@ -1,29 +1,11 @@
|
||||
APScheduler==3.9.1
|
||||
asgiref==3.5.2
|
||||
astor==0.8.1
|
||||
async-timeout==4.0.2
|
||||
attrdict==2.0.1
|
||||
attrs==21.4.0
|
||||
Automat==20.2.0
|
||||
Babel==2.10.3
|
||||
baidu-aip==4.16.7
|
||||
bce-python-sdk==0.8.74
|
||||
beautifulsoup4==4.11.1
|
||||
cachetools==5.2.0
|
||||
certifi==2022.6.15
|
||||
cffi==1.15.1
|
||||
cfscrape==2.1.1
|
||||
chardet==5.0.0
|
||||
charset-normalizer==2.1.1
|
||||
click==8.1.3
|
||||
cloudscraper==1.2.60
|
||||
constantly==15.1.0
|
||||
cryptography==37.0.4
|
||||
cssselect==1.1.0
|
||||
cssutils==2.5.1
|
||||
cycler==0.11.0
|
||||
Cython==0.29.32
|
||||
decorator==5.1.1
|
||||
defusedxml==0.7.1
|
||||
deluge-client==1.9.0
|
||||
Deprecated==1.2.13
|
||||
@@ -34,94 +16,35 @@ django-import-export==2.8.0
|
||||
django-redis==5.2.0
|
||||
django-simpleui==2022.7.29
|
||||
et-xmlfile==1.1.0
|
||||
filelock==3.7.1
|
||||
Flask==2.2.2
|
||||
Flask-Babel==2.0.0
|
||||
fonttools==4.35.0
|
||||
future==0.18.2
|
||||
hyperlink==21.0.0
|
||||
idna==3.3
|
||||
imageio==2.21.1
|
||||
imgaug==0.4.0
|
||||
importlib-metadata==4.12.0
|
||||
incremental==21.3.0
|
||||
itemadapter==0.6.0
|
||||
itemloaders==1.0.4
|
||||
itsdangerous==2.1.2
|
||||
Jinja2==3.1.2
|
||||
jmespath==1.0.1
|
||||
kiwisolver==1.4.4
|
||||
lmdb==1.3.0
|
||||
lxml==4.9.1
|
||||
Markdown==3.4.1
|
||||
MarkupPy==1.14
|
||||
MarkupSafe==2.1.1
|
||||
matplotlib==3.5.3
|
||||
mysqlclient==2.1.1
|
||||
networkx==2.8.5
|
||||
numpy==1.23.2
|
||||
odfpy==1.4.1
|
||||
OpenCC==1.1.4
|
||||
opencv-contrib-python==4.4.0.46
|
||||
opencv-python==4.6.0.66
|
||||
openpyxl==3.0.10
|
||||
opt-einsum==3.3.0
|
||||
packaging==21.3
|
||||
paddle-bfloat==0.1.7
|
||||
paddleocr==2.5.0.3
|
||||
paddlepaddle==2.3.1
|
||||
pandas==1.4.3
|
||||
parsel==1.6.0
|
||||
Pillow==9.2.0
|
||||
premailer==3.10.0
|
||||
Protego==0.2.1
|
||||
protobuf==3.20.0
|
||||
pyasn1==0.4.8
|
||||
pyasn1-modules==0.2.8
|
||||
pyclipper==1.3.0.post3
|
||||
pycparser==2.21
|
||||
pycryptodome==3.15.0
|
||||
PyDispatcher==2.0.5
|
||||
pyOpenSSL==22.0.0
|
||||
pyparsing==3.0.9
|
||||
pypushdeer==0.0.3
|
||||
python-dateutil==2.8.2
|
||||
python-Levenshtein==0.12.2
|
||||
pytz==2022.2.1
|
||||
pytz-deprecation-shim==0.1.0.post0
|
||||
PyWavelets==1.3.0
|
||||
PyYAML==6.0
|
||||
qbittorrent-api==2022.8.36
|
||||
queuelib==1.6.2
|
||||
redis==4.3.4
|
||||
requests==2.28.1
|
||||
requests-file==1.5.1
|
||||
requests-toolbelt==0.9.1
|
||||
scikit-image==0.19.3
|
||||
scipy==1.9.0
|
||||
Scrapy==2.6.2
|
||||
service-identity==21.1.0
|
||||
Shapely==1.8.3
|
||||
six==1.16.0
|
||||
soupsieve==2.3.2.post1
|
||||
sqlparse==0.4.2
|
||||
tablib==3.2.1
|
||||
tifffile==2022.8.12
|
||||
tldextract==3.3.1
|
||||
tqdm==4.64.0
|
||||
transmission-rpc==3.3.2
|
||||
Twisted==22.4.0
|
||||
typing_extensions==4.3.0
|
||||
tzdata==2022.2
|
||||
tzlocal==4.2
|
||||
urllib3==1.26.11
|
||||
visualdl==2.3.0
|
||||
w3lib==1.22.0
|
||||
wechat-push==1.0.1
|
||||
Werkzeug==2.2.2
|
||||
wrapt==1.14.1
|
||||
wxpusher==2.2.0
|
||||
xlrd==2.0.1
|
||||
xlwt==1.3.0
|
||||
zipp==3.8.1
|
||||
zope.interface==5.4.0
|
||||
|
||||
2
start.sh
2
start.sh
@@ -1,6 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
git pull https://ngfchl:.wq891222@gitee.com/ngfchl/pt_assister
|
||||
pip install -r requirements.txt
|
||||
CONTAINER_ALREADY_STARTED="CONTAINER_ALREADY_STARTED_PLACEHOLDER"
|
||||
if [ ! -f ./db/db.sqlite3 ]; then
|
||||
@@ -25,5 +24,6 @@ else
|
||||
echo "-- Not first container startup --"
|
||||
fi
|
||||
|
||||
python manage.py makemigrations &&
|
||||
python manage.py migrate &&
|
||||
python manage.py runserver 0.0.0.0:8000 --noreload
|
||||
|
||||
Reference in New Issue
Block a user