不再为docker预装telegram适配器

This commit is contained in:
Azide 2024-06-24 20:21:33 +08:00
parent eeccceb81b
commit 779fbd1e36
No known key found for this signature in database
GPG Key ID: 3B3AA352925BB2C0
4 changed files with 2 additions and 26 deletions

View File

@ -43,8 +43,7 @@ ADD . /app/
RUN pip install -e . && playwright install chromium
RUN mv docker.env.prod .env.prod && \
nb adapter install nonebot-adapter-red && \
nb adapter install nonebot-adapter-qq && \
nb adapter install nonebot-adapter-telegram
nb adapter install nonebot-adapter-qq
ENV HOST=0.0.0.0
CMD ["nb", "run"]

View File

@ -44,7 +44,6 @@ RUN pip install -e . && playwright install chromium
RUN mv docker.env.prod .env.prod && \
nb adapter install nonebot-adapter-red && \
nb adapter install nonebot-adapter-qq && \
nb adapter install nonebot-adapter-telegram && \
nb plugin install nonebot-plugin-sentry
ENV HOST=0.0.0.0
CMD ["nb", "run"]

23
poetry.lock generated
View File

@ -2516,27 +2516,6 @@ type = "legacy"
url = "https://pypi.org/simple"
reference = "offical-source"
[[package]]
name = "nonebot-adapter-telegram"
version = "0.1.0b17"
description = "Telegram Adapter for NoneBot2"
optional = false
python-versions = ">=3.8,<4.0"
files = [
{file = "nonebot-adapter-telegram-0.1.0b17.tar.gz", hash = "sha256:0914b07e24d6a747a53426b4f8ae799c753a70b703242943f0421f8dee3e5f03"},
{file = "nonebot_adapter_telegram-0.1.0b17-py3-none-any.whl", hash = "sha256:4ff41a9a8ce828e229ffa7e192a82ea228ac60ae20abeeacbfd8244c6b71ecf8"},
]
[package.dependencies]
anyio = ">=4.2.0,<5.0.0"
nonebot2 = ">=2.1.3,<3.0.0"
pydantic = ">=2.0.3,<2.5.0 || >2.5.0,<2.5.1 || >2.5.1,<3.0.0"
[package.source]
type = "legacy"
url = "https://pypi.org/simple"
reference = "offical-source"
[[package]]
name = "nonebot-plugin-apscheduler"
version = "0.4.0"
@ -5010,4 +4989,4 @@ yaml = []
[metadata]
lock-version = "2.0"
python-versions = ">=3.10,<4.0.0"
content-hash = "7689ebcb430c4512a0ea770e8488bbe68c286d87716f8bf810e086e4ed30ed46"
content-hash = "1ecd3c070d0ddd2003bb3136ecadd758cf5f01a5ca9d87d82492d10dedb83d7a"

View File

@ -69,7 +69,6 @@ nb-cli = "^1.4.0"
nonebot2 = { extras = ["fastapi", "aiohttp"], version = "^2.2.1" }
nonebot-adapter-red = "^0.9.0"
nonebot-adapter-qq = "^1.4.2"
nonebot-adapter-telegram = "^0.1.0b14"
poetry-core = "^1.8.1"
[tool.poetry.extras]