mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2026-06-23 14:16:52 +08:00
👷 add adapters
This commit is contained in:
@@ -22,7 +22,7 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY pyproject.toml poetry.lock /src/
|
COPY pyproject.toml poetry.lock /src/
|
||||||
|
|
||||||
RUN poetry add "nonebot2[fastapi]" && \
|
RUN poetry add "nonebot2[fastapi]" nonebot-adapter-red nonebot-adapter-qq nonebot-adapter-telegram && \
|
||||||
poetry export --without-hashes --no-interaction --no-ansi -f requirements.txt -o requirements.txt
|
poetry export --without-hashes --no-interaction --no-ansi -f requirements.txt -o requirements.txt
|
||||||
RUN pip install --prefix=/runtime --force-reinstall -r requirements.txt
|
RUN pip install --prefix=/runtime --force-reinstall -r requirements.txt
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,9 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY pyproject.toml poetry.lock /src/
|
COPY pyproject.toml poetry.lock /src/
|
||||||
|
|
||||||
RUN poetry add "nonebot2[fastapi]" nonebot-plugin-sentry && \
|
RUN poetry add "nonebot2[fastapi]" \
|
||||||
|
nonebot-adapter-red nonebot-adapter-qq nonebot-adapter-telegram \
|
||||||
|
nonebot-plugin-sentry && \
|
||||||
poetry export --without-hashes --no-interaction --no-ansi -f requirements.txt -o requirements.txt
|
poetry export --without-hashes --no-interaction --no-ansi -f requirements.txt -o requirements.txt
|
||||||
RUN pip install --prefix=/runtime --force-reinstall -r requirements.txt
|
RUN pip install --prefix=/runtime --force-reinstall -r requirements.txt
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user