Compare commits

...

2 commits

Author SHA1 Message Date
vSpaike
a8d6645eee Merge branch 'main' of git.leizour.fr:CyberFlingues/arp-spoofing 2025-01-21 09:00:43 +01:00
vSpaike
870175e024 te 2025-01-21 08:57:45 +01:00

View file

@ -1,5 +1,9 @@
FROM ubuntu:lastest AS webserver FROM ubuntu:lastest AS webserver
RUN apt-get update && apt-get install -y apache2 RUN apt-get update && apt-get install -y apache2
RUN apt-get update && apt-get install -y apache2 openssl ca-certificates \
&& openssl req -nodes -newkey rsa:2048 -sha256 -keyout private-rsa.key -out certifactes.csr
WORKDIR /var/www/html WORKDIR /var/www/html
COPY ./public/ . COPY ./public/ .
CMD ["apache2ctl", "-D", "FOREGROUND"] CMD ["apache2ctl", "-D", "FOREGROUND"]