diff --git a/Dockerfile b/Dockerfile index 4d7bca1..832982d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,16 +44,13 @@ RUN apt-get update && \ socat \ git \ cron && \ + apt-get install -y python3-pandas python3-requests python3-socks && \ rm -rf /var/lib/apt/lists/* # Copy the Darknet Lantern source from the builder stage. RUN mkdir -p /srv/darknet-lantern COPY --from=builder /src/darknet-lantern/ /srv/darknet-lantern/ -# Install Requirements -RUN pip3 install --upgrade pip --break-system-packages && \ - pip3 install --no-cache-dir --break-system-packages -r /srv/darknet-lantern/requirements.txt - # Configure nginx. COPY ./lantern_nginx_conf/lantern.conf /etc/nginx/sites-available/lantern.conf RUN ln -sf /etc/nginx/sites-available/lantern.conf /etc/nginx/sites-enabled/ && \ diff --git a/requirements.txt b/requirements.txt index f3e6a0f..a887ce5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,18 +1,15 @@ beautifulsoup4==4.13.3 -certifi==2025.4.26 +certifi==2024.12.14 charset-normalizer==3.4.1 -dotenv==0.9.9 idna==3.10 -numpy==2.2.6 +numpy==2.2.2 pandas==2.2.3 -pillow==11.2.1 -PySocks==1.7.1 python-dateutil==2.9.0.post0 -python-dotenv==1.1.0 python-socks==2.6.1 pytz==2024.2 requests==2.32.3 six==1.17.0 -tzdata==2025.2 -urllib3==2.4.0 -websockets==15.0.1 \ No newline at end of file +tzdata==2025.1 +urllib3==2.3.0 +python-dotenv==1.0.1 +websockets==15.0.1