From 319ffc8a45585ac15ceacb3cac1358a784de12b5 Mon Sep 17 00:00:00 2001 From: felinae98 <731499577@qq.com> Date: Thu, 24 Feb 2022 15:47:20 +0800 Subject: [PATCH] update sentry build --- docker/Dockerfile_with_frontend_sentry | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile_with_frontend_sentry b/docker/Dockerfile_with_frontend_sentry index beef9b3..c14f88a 100644 --- a/docker/Dockerfile_with_frontend_sentry +++ b/docker/Dockerfile_with_frontend_sentry @@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y xvfb fonts-noto-color-emoji ttf-unifont && rm -rf /var/lib/apt/lists/* 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 + sed '/nonebot.load_builtin_plugins("echo")/a nonebot.load_plugin("nonebot_plugin_sentry")' -i bot.py RUN poetry install --no-root --no-dev RUN playwright install chromium ADD src /app/src