Merge branch 'main' of git.leizour.fr:CyberFlingues/arp-spoofing into main

This commit is contained in:
iMax 2025-01-21 11:02:25 +01:00
commit 906a9ecb61
34 changed files with 3 additions and 3 deletions

14
apache/apache2/dockerfile Normal file
View file

@ -0,0 +1,14 @@
FROM node:alpine AS build
WORKDIR /app
COPY react-page .
RUN npm i && npm run build
FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y apache2 openssl ca-certificates net-tools\
&& rm -rf /var/lib/apt/lists/* \
&& a2enmod ssl && a2ensite default-ssl
COPY 000-default.conf /etc/apache2/sites-available/000-default.conf
COPY default-ssl.conf /etc/apache2/sites-available/default-ssl.conf
COPY --from=build /app/dist /var/www/html
CMD ["apache2ctl", "-D", "FOREGROUND"]