Skip to content

Commit b2c23ad

Browse files
authored
Update Dockerfile
1 parent f8e474b commit b2c23ad

File tree

1 file changed

+26
-7
lines changed

1 file changed

+26
-7
lines changed

files/Dockerfile

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,32 @@
1-
FROM python:3
1+
# Dockerfile
2+
3+
# Author : Adityasinh Sodha
4+
# Github : https://github.com/WorkofAditya
5+
# Messenger : https://m.me/Adityasinhji
6+
# Email : work.adityasodha@gmail.com
7+
# Main Language: Python
28

3-
WORKDIR /PhisherMan
9+
# Import main images
10+
11+
# OS
12+
FROM debian:latest
13+
# Main Language
14+
FROM python:3
415

5-
COPY . /PhisherMan
16+
# Author info
17+
LABEL MAINTAINER="https://github.com/KasRoudra/WorkofAditya"
618

7-
RUN apt-get update && \
8-
apt-get install -y php openssh-client && \
9-
apt-get clean
19+
# Working directory
20+
WORKDIR /Phisherman/
21+
# Add files
22+
ADD . /Phisherman
1023

11-
RUN pip install --no-cache-dir -r files/requirements.txt
24+
# Installing packages
25+
RUN apt-get update
26+
RUN apt-get upgrade -y
27+
RUN apt-get install python3-pip php openssh-client -y
28+
RUN pip3 install -r files/requirements.txt --break-system-packages
29+
RUN apt-get clean
1230

31+
# Main command
1332
CMD ["python3", "phisherman.py", "--noupdate"]

0 commit comments

Comments
 (0)