mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-07 19:18:34 +03:00
v0.11.0 with auto-archiver v1.1.0, antibot added, vk_extractor dropped
This commit is contained in:
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@@ -0,0 +1 @@
|
||||
secrets/antibot_user_data*
|
||||
@@ -1,4 +1,4 @@
|
||||
VERSION = "0.10.0"
|
||||
VERSION = "0.11.0"
|
||||
|
||||
API_DESCRIPTION = """
|
||||
#### API for the Auto-Archiver project, a tool to archive web pages and Google Sheets.
|
||||
|
||||
@@ -12,9 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
RUN pip install --no-cache-dir poetry
|
||||
|
||||
COPY ../../pyproject.toml ../../poetry.lock ../../README.md ./
|
||||
# sed is unfortunately needed to fix a bug comming from vk-url-scraper that comes from brotli and the fact bk-ul-scraper can no longer be published to pypi
|
||||
RUN sed -i 's/platform_python_implementation >= \\"CPython\\"/platform_python_implementation == \\"CPython\\"/g' poetry.lock && \
|
||||
poetry install --with web --no-interaction --no-ansi --no-cache
|
||||
RUN poetry install --with web --no-interaction --no-ansi --no-cache
|
||||
|
||||
# Copy the application code and configurations
|
||||
COPY ../../app ./app/
|
||||
|
||||
@@ -16,7 +16,7 @@ ENV LANG=C.UTF-8 \
|
||||
|
||||
# install dependencies
|
||||
RUN apt update -y && \
|
||||
apt install -y python3-venv && \
|
||||
apt install -y python3-venv python3-tk python3-dev && \
|
||||
python3 -m venv ./poetry-venv && \
|
||||
./poetry-venv/bin/python -m pip install --upgrade pip && \
|
||||
./poetry-venv/bin/python -m pip install "poetry>=2.0.0,<3.0.0"
|
||||
|
||||
2792
poetry.lock
generated
2792
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -21,7 +21,7 @@ requires-python = ">=3.10,<3.13"
|
||||
|
||||
|
||||
dependencies = [
|
||||
"auto-archiver (>=0.13.1)",
|
||||
"auto-archiver (==1.1.0)",
|
||||
"celery (>=5.0)",
|
||||
"redis (==3.5.3)",
|
||||
"loguru (>=0.7.3,<0.8.0)",
|
||||
@@ -42,7 +42,7 @@ extend-immutable-calls = ["fastapi.Depends", "fastapi.Query"]
|
||||
|
||||
[tool.poetry.group.worker.dependencies]
|
||||
watchdog = ">=6.0.0,<7.0.0"
|
||||
setuptools = "^75.8.0"
|
||||
setuptools = ">=75.8.0"
|
||||
|
||||
[tool.poetry.group.web.dependencies]
|
||||
fastapi = ">=0.115.8,<0.116.0"
|
||||
|
||||
Reference in New Issue
Block a user