mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2026-05-09 18:27:56 +08:00
🚀 add nonebot2[fastapi] dependency for dockerfile (#192)
This commit is contained in:
@@ -22,7 +22,7 @@ WORKDIR /src
|
||||
|
||||
COPY pyproject.toml poetry.lock /src/
|
||||
|
||||
RUN poetry add fastapi && \
|
||||
RUN poetry add "nonebot2[fastapi]" && \
|
||||
poetry export --without-hashes --no-interaction --no-ansi -f requirements.txt -o requirements.txt
|
||||
RUN pip install --prefix=/runtime --force-reinstall -r requirements.txt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user