This commit is contained in:
iMax 2025-01-21 08:21:04 +01:00
commit 865127a0a9
5 changed files with 40 additions and 0 deletions

12
dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM ubuntu:lastest AS webserver
RUN apt-get update && apt-get install -y apache2
WORKDIR /var/www/html
COPY ./public/ .
CMD ["apache2ctl", "-D", "FOREGROUND"]
FROM alpine:latest AS attacker
RUN apk add --no-cache curl
CMD ["curl", "webserver:80"]