Changed the web server to be on the same program than the scapy program

This commit is contained in:
Lukian 2024-12-17 15:47:57 +01:00
parent 077b4e68b8
commit 9f0101b1c3
8 changed files with 42 additions and 32 deletions

10
server/Dockerfile Normal file
View file

@ -0,0 +1,10 @@
FROM python:alpine
WORKDIR /app
COPY . .
RUN apk add \
gcc \
libpcap-dev \
&& pip install -r requirements.txt
EXPOSE 80
CMD ["python", "-u", "main.py"]