Merge branch 'main' of git.leizour.fr:CyberFlingues/arp-spoofing into main
This commit is contained in:
commit
906a9ecb61
34 changed files with 3 additions and 3 deletions
14
apache/apache2/dockerfile
Normal file
14
apache/apache2/dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue