mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-08 13:05:47 +08:00
🐛 fix Dockerfile and README (#27)
* 新增Docker部署脚本 * 🚨 `pre-commit-ci`修复格式错误 * 修复Docker部署说明 * Optimize Dockerfile * Update Dockerfile * Update README.md * 🚨 `pre-commit-ci`修复格式错误 --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
c4392f4b1c
commit
d23d9a3e49
@ -16,7 +16,7 @@ RUN sed -i 's/http:\/\/deb.debian.org/http:\/\/ftp.cn.debian.org/g' /etc/apt/sou
|
|||||||
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
||||||
&& pip install --no-cache-dir --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple/ \
|
&& pip install --no-cache-dir --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple/ \
|
||||||
&& pip install poetry -i https://pypi.tuna.tsinghua.edu.cn/simple/ \
|
&& pip install poetry -i https://pypi.tuna.tsinghua.edu.cn/simple/ \
|
||||||
&& poetry install && \
|
&& poetry install \
|
||||||
&& rm -rf /app/*
|
&& rm -rf /app/*
|
||||||
|
|
||||||
CMD poetry run python3 core.py
|
CMD poetry run python3 core.py
|
||||||
|
15
README.md
15
README.md
@ -65,23 +65,16 @@ poetry run core
|
|||||||
git clone https://ghproxy.com/https://github.com/Genshin-bots/gsuid_core.git --depth=1 --single-branch
|
git clone https://ghproxy.com/https://github.com/Genshin-bots/gsuid_core.git --depth=1 --single-branch
|
||||||
```
|
```
|
||||||
|
|
||||||
2. 安装所需插件
|
2. 安装所需插件(可选)
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# 安装v4 GenshinUID
|
# cd进入插件文件夹内
|
||||||
cd plugins
|
cd plugins
|
||||||
|
# 安装v4 GenshinUID
|
||||||
git clone -b v4 https://ghproxy.com/https://github.com/KimigaiiWuyi/GenshinUID.git --depth=1 --single-branch
|
git clone -b v4 https://ghproxy.com/https://github.com/KimigaiiWuyi/GenshinUID.git --depth=1 --single-branch
|
||||||
```
|
```
|
||||||
|
|
||||||
2. 安装所需插件
|
3. Docker Compose启动
|
||||||
|
|
||||||
```shell
|
|
||||||
# 安装v4 GenshinUID
|
|
||||||
cd plugins
|
|
||||||
git clone -b v4 https://ghproxy.com/https://github.com/KimigaiiWuyi/GenshinUID.git --depth=1 --single-branch
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Docker Compose启动
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# 进入项目根目录
|
# 进入项目根目录
|
||||||
|
@ -6,12 +6,14 @@ aiosignal==1.3.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0
|
|||||||
aiosqlite==0.19.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
aiosqlite==0.19.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
anyio==3.7.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
anyio==3.7.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
apscheduler==3.10.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
apscheduler==3.10.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
|
async-generator==1.10 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
async-timeout==4.0.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
async-timeout==4.0.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
attrs==23.1.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
attrs==23.1.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
backports-zoneinfo==0.2.1 ; python_full_version >= "3.8.1" and python_version < "3.9"
|
backports-zoneinfo==0.2.1 ; python_full_version >= "3.8.1" and python_version < "3.9"
|
||||||
bcrypt==4.0.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
bcrypt==4.0.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
beautifulsoup4==4.12.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
beautifulsoup4==4.12.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
certifi==2023.5.7 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
certifi==2023.5.7 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
|
cffi==1.15.1 ; os_name == "nt" and implementation_name != "pypy" and python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
charset-normalizer==3.1.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
charset-normalizer==3.1.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
click==8.1.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
click==8.1.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
colorama==0.4.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" and (platform_system == "Windows" or sys_platform == "win32")
|
colorama==0.4.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" and (platform_system == "Windows" or sys_platform == "win32")
|
||||||
@ -34,8 +36,10 @@ lxml==4.9.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
|||||||
mpmath==1.3.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
mpmath==1.3.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
msgspec==0.16.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
msgspec==0.16.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
multidict==6.0.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
multidict==6.0.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
|
outcome==1.2.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
passlib==1.7.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
passlib==1.7.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
pillow==9.5.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
pillow==9.5.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
|
pycparser==2.21 ; python_full_version >= "3.8.1" and os_name == "nt" and implementation_name != "pypy" and python_full_version < "4.0.0"
|
||||||
pydantic==1.10.9 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
pydantic==1.10.9 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
pypng==0.20220715.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
pypng==0.20220715.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
python-multipart==0.0.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
python-multipart==0.0.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
@ -45,6 +49,7 @@ setuptools==67.8.0 ; python_full_version >= "3.8.1" and python_full_version < "4
|
|||||||
six==1.16.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
six==1.16.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
smmap==5.0.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
smmap==5.0.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
sniffio==1.3.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
sniffio==1.3.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
|
sortedcontainers==2.4.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
soupsieve==2.4.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
soupsieve==2.4.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
sqlalchemy-database==0.1.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
sqlalchemy-database==0.1.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
sqlalchemy2-stubs==0.0.2a34 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
sqlalchemy2-stubs==0.0.2a34 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
@ -52,6 +57,7 @@ sqlalchemy==1.4.41 ; python_full_version >= "3.8.1" and python_full_version < "4
|
|||||||
sqlmodel==0.0.8 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
sqlmodel==0.0.8 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
sqlmodelx==0.0.5 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
sqlmodelx==0.0.5 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
starlette==0.27.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
starlette==0.27.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
|
trio==0.22.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
typing-extensions==4.6.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
typing-extensions==4.6.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
tzdata==2023.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" and platform_system == "Windows"
|
tzdata==2023.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" and platform_system == "Windows"
|
||||||
tzlocal==5.0.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
tzlocal==5.0.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user