mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 07:05:36 +01:00
Fix
This commit is contained in:
@@ -3,7 +3,7 @@ FROM python:3.12-slim AS build
|
||||
ARG POETRY_EXPORT_EXTRA_ARGS=''
|
||||
|
||||
WORKDIR /opt/venv
|
||||
RUN python -m venv /opt/venv && /opt/venv/bin/pip install --upgrade pip && /opt/venv/bin/pip install --no-cache-dir httpx poetry
|
||||
RUN python -m venv /opt/venv && /opt/venv/bin/pip install --upgrade pip && /opt/venv/bin/pip install --no-cache-dir httpx poetry poetry-plugin-export
|
||||
|
||||
COPY ./pyproject.toml ./poetry.lock ./
|
||||
RUN --mount=type=ssh /opt/venv/bin/poetry export --without-hashes ${POETRY_EXPORT_EXTRA_ARGS} > requirements.txt \
|
||||
|
||||
@@ -137,7 +137,6 @@ class TwitchService:
|
||||
await self._check_token()
|
||||
finally:
|
||||
logger.info("Twitch service stopping...")
|
||||
|
||||
await wait_for(self.stop(eventsub), timeout=5)
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user