mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-04 02:26:11 +08:00
update dockerfile
This commit is contained in:
parent
7728615f56
commit
4aeff4ad95
@ -1,7 +1,7 @@
|
||||
FROM python:3.9
|
||||
RUN python3 -m pip install poetry && poetry config virtualenvs.create false
|
||||
WORKDIR /app
|
||||
RUN pip install playwright && playwright install chromium
|
||||
RUN pip install playwright && playwright install chromium && playwright install-deps
|
||||
COPY ./pyproject.toml ./poetry.lock* /app/
|
||||
RUN poetry install --no-root --no-dev
|
||||
ADD src /app/src
|
||||
|
@ -1,7 +1,7 @@
|
||||
FROM python:3.9
|
||||
RUN python3 -m pip install poetry && poetry config virtualenvs.create false
|
||||
WORKDIR /app
|
||||
RUN pip install playwright && playwright install chromium
|
||||
RUN pip install playwright && playwright install chromium && playwright install-deps
|
||||
COPY ./pyproject.toml ./poetry.lock* ./bot.py /app/
|
||||
RUN poetry add nonebot-plugin-sentry && \
|
||||
sed '/nonebot.load_builtin_plugins()/a nonebot.load_plugin("nonebot_plugin_sentry")' -i bot.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user