Skip to content

Commit

Permalink
👷 add adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
felinae98 committed Oct 25, 2023
1 parent 05d01ae commit e285841
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile_with_frontend
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion docker/Dockerfile_with_frontend_sentry
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e285841

Please sign in to comment.