👷 add adapters

This commit is contained in:
felinae98
2023-10-25 20:25:47 +08:00
parent 05d01aee6c
commit e285841537
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ WORKDIR /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
RUN pip install --prefix=/runtime --force-reinstall -r requirements.txt
+3 -1
View File
@@ -22,7 +22,9 @@ WORKDIR /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
RUN pip install --prefix=/runtime --force-reinstall -r requirements.txt