First
This commit is contained in:
commit
865127a0a9
5 changed files with 40 additions and 0 deletions
12
dockerfile
Normal file
12
dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue