update garfbot and dockerfile
This commit is contained in:
parent
16222c99ae
commit
ec1fd506d0
@ -2,7 +2,6 @@ FROM python:3.11.10-bookworm
|
|||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
COPY ./requirements.txt .
|
|
||||||
RUN apt update
|
RUN apt update
|
||||||
RUN apt install -y iputils-ping
|
RUN apt install -y iputils-ping
|
||||||
RUN apt install -y dnsutils
|
RUN apt install -y dnsutils
|
||||||
|
@ -59,6 +59,14 @@ def is_private(target):
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
if "crate.lan" in target.lower():
|
if "crate.lan" in target.lower():
|
||||||
return True
|
return True
|
||||||
|
if "crate.zip" in target.lower():
|
||||||
|
return True
|
||||||
|
if "memtec.org" in target.lower():
|
||||||
|
return True
|
||||||
|
if "crateit.net" in target.lower():
|
||||||
|
return True
|
||||||
|
if "garfbot.art" in target.lower():
|
||||||
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user