mirror of
https://github.com/Z4nzu/hackingtool.git
synced 2026-08-19 21:44:19 +08:00
Phase 11: requirements.txt and Dockerfile cleanup
- requirements.txt: remove boxes, lolcat (system CLI tools not pip packages), flask (unused), requests (unused at runtime); pin rich>=13.0.0 - Dockerfile: add --break-system-packages to pip3 install (PEP 668 compliance on Kali/Debian externally-managed Python environments)
This commit is contained in:
+2
-1
@@ -9,7 +9,8 @@ WORKDIR /root/hackingtool
|
||||
COPY requirements.txt ./
|
||||
|
||||
# Bug 21 fix: boxes/lolcat/flask are NOT pip packages — removed
|
||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||
# --break-system-packages needed on Kali (PEP 668 externally-managed env)
|
||||
RUN pip3 install --no-cache-dir --break-system-packages -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
|
||||
+5
-5
@@ -1,5 +1,5 @@
|
||||
boxes
|
||||
flask
|
||||
lolcat
|
||||
requests
|
||||
rich
|
||||
# Python dependencies for hackingtool
|
||||
# boxes and lolcat are system CLI tools, not pip packages — install via apt/brew
|
||||
# flask is unused — removed
|
||||
# requests is unused at runtime — removed
|
||||
rich>=13.0.0
|
||||
|
||||
Reference in New Issue
Block a user