arp-spoofing/docker/apache2/dockerfile
2025-01-21 08:57:45 +01:00

10 lines
No EOL
281 B
Text

FROM ubuntu:lastest AS webserver
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
COPY ./public/ .
CMD ["apache2ctl", "-D", "FOREGROU