This commit is contained in:
2026-04-29 01:53:16 +03:00
commit ba6bfc5ed3
14 changed files with 1338 additions and 0 deletions

23
Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
FROM mcr.microsoft.com/playwright/python:v1.44.0-jammy
WORKDIR /app
# Зависимости
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Устанавливаем только Chromium (остальные браузеры не нужны)
RUN playwright install chromium --with-deps
COPY src/ ./src/
COPY debug_site.py ./debug_site.py
COPY debug_cdn.py ./debug_cdn.py
# Выходные данные и состояние монтируются снаружи
VOLUME ["/app/output", "/app/state"]
ENTRYPOINT ["python", "-m", "src.cli"]
CMD ["--help"]