12 lines
No EOL
251 B
Text
12 lines
No EOL
251 B
Text
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"] |