👷 add adapters

This commit is contained in:
felinae98 2023-10-25 20:25:47 +08:00
parent 05d01aee6c
commit e285841537
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610
2 changed files with 4 additions and 2 deletions

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

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