Merge branch 'main' of git.leizour.fr:CyberFlingues/arp-spoofing
This commit is contained in:
commit
a8d6645eee
2 changed files with 2 additions and 4 deletions
|
@ -1,10 +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 openssl ca-certificates \
|
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
|
&& 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", "FOREGROU
|
|
|
@ -1,4 +1,3 @@
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk add --no-cache curl
|
RUN apk add --no-cache curl
|
||||||
|
|
||||||
CMD ["curl", "webserver:80"]
|
CMD ["curl", "webserver:80"]
|
Loading…
Add table
Add a link
Reference in a new issue