forked from JMousqueton/ransomware.live
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdockerfile
More file actions
24 lines (18 loc) · 706 Bytes
/
dockerfile
File metadata and controls
24 lines (18 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM python:3.13.0b1-slim-bullseye
LABEL org.opencontainers.image.source https://github.com/jmousqueton/ransomwatch
COPY *.py /
COPY *.json /
COPY assets/useragents.txt /assets/useragents.txt
COPY requirements.txt /requirements.txt
RUN apt-get update -yy
RUN apt-get upgrade -yy
RUN apt install -yy \
g++ gcc libxml2-dev \
libxslt-dev libffi-dev \
make curl jq firefox-esr \
chromium
RUN curl -L `curl -sL https://api.github.com/repos/mozilla/geckodriver/releases/latest | jq -r '.assets[].browser_download_url' | grep 'linux64.tar.gz$'` | tar -xz
RUN chmod +x geckodriver
RUN mv geckodriver /usr/local/bin
RUN pip3 install -r requirements.txt
ENTRYPOINT ["python3", "ransomwatch.py"]