This commit is contained in:
2025-01-07 19:54:11 +01:00
parent e789a83967
commit cde3b67411
2 changed files with 1 additions and 2 deletions

View File

@@ -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 \

View File

@@ -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