mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-07-01 16:26:41 +00:00
update python requirements and Dockerfile
This commit is contained in:
parent
b8b4a770ce
commit
457287e3b8
2 changed files with 11 additions and 7 deletions
|
@ -44,13 +44,16 @@ RUN apt-get update && \
|
||||||
socat \
|
socat \
|
||||||
git \
|
git \
|
||||||
cron && \
|
cron && \
|
||||||
apt-get install -y python3-pandas python3-requests python3-socks && \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Copy the Darknet Lantern source from the builder stage.
|
# Copy the Darknet Lantern source from the builder stage.
|
||||||
RUN mkdir -p /srv/darknet-lantern
|
RUN mkdir -p /srv/darknet-lantern
|
||||||
COPY --from=builder /src/darknet-lantern/ /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.
|
# Configure nginx.
|
||||||
COPY ./lantern_nginx_conf/lantern.conf /etc/nginx/sites-available/lantern.conf
|
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/ && \
|
RUN ln -sf /etc/nginx/sites-available/lantern.conf /etc/nginx/sites-enabled/ && \
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
beautifulsoup4==4.13.3
|
beautifulsoup4==4.13.3
|
||||||
certifi==2024.12.14
|
certifi==2025.4.26
|
||||||
charset-normalizer==3.4.1
|
charset-normalizer==3.4.1
|
||||||
|
dotnev==0.9.9
|
||||||
idna==3.10
|
idna==3.10
|
||||||
numpy==2.2.2
|
numpy==2.2.6
|
||||||
pandas==2.2.3
|
pandas==2.2.3
|
||||||
python-dateutil==2.9.0.post0
|
python-dateutil==2.9.0.post0
|
||||||
|
python-dotenv==1.1.0
|
||||||
python-socks==2.6.1
|
python-socks==2.6.1
|
||||||
pytz==2024.2
|
pytz==2024.2
|
||||||
requests==2.32.3
|
requests==2.32.3
|
||||||
six==1.17.0
|
six==1.17.0
|
||||||
tzdata==2025.1
|
tzdata==2025.2
|
||||||
urllib3==2.3.0
|
urllib3==2.4.0
|
||||||
python-dotenv==1.0.1
|
websockets==15.0.1
|
||||||
websockets==15.0.1
|
|
Loading…
Add table
Add a link
Reference in a new issue