diff --git a/docker/Dockerfile_with_frontend b/docker/Dockerfile_with_frontend index 9dc88d1..2ca3de3 100644 --- a/docker/Dockerfile_with_frontend +++ b/docker/Dockerfile_with_frontend @@ -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 diff --git a/docker/Dockerfile_with_frontend_sentry b/docker/Dockerfile_with_frontend_sentry index 67c90c0..2ded75a 100644 --- a/docker/Dockerfile_with_frontend_sentry +++ b/docker/Dockerfile_with_frontend_sentry @@ -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