forked from yashab-cyber/HackGpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
39 lines (29 loc) · 766 Bytes
/
Dockerfile
File metadata and controls
39 lines (29 loc) · 766 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM kalilinux/kali-rolling
# Set environment variables
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
# Update and install basic tools
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
git \
curl \
wget \
sudo \
&& rm -rf /var/lib/apt/lists/*
# Create working directory
WORKDIR /hackgpt
# Copy requirements first for better caching
COPY requirements.txt .
# Install Python dependencies
RUN pip3 install -r requirements.txt
# Copy the rest of the application
COPY . .
# Run installation script
RUN chmod +x install.sh && ./install.sh
# Create reports directory
RUN mkdir -p /reports && chmod 755 /reports
# Expose web dashboard port
EXPOSE 5000
# Set entry point
ENTRYPOINT ["python3", "hackgpt.py"]