This commit is contained in:
2026-04-29 02:07:21 +03:00
parent ba6bfc5ed3
commit 0aa057c991
14 changed files with 4257 additions and 139 deletions

View File

@@ -10,14 +10,13 @@ RUN pip install --no-cache-dir -r requirements.txt
RUN playwright install chromium --with-deps
COPY src/ ./src/
COPY frontend/ ./frontend/
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"]
# По умолчанию запускаем веб-сервер
ENTRYPOINT []
CMD ["uvicorn", "src.api:app", "--host", "0.0.0.0", "--port", "8000"]