mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-11 13:08:34 +03:00
v0.11.0 with auto-archiver v1.1.0, antibot added, vk_extractor dropped
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user