removed spaces

This commit is contained in:
Lukian 2025-01-21 08:54:23 +01:00
parent fd8296498c
commit e5c9250991
2 changed files with 0 additions and 4 deletions

View file

@ -1,8 +1,5 @@
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
WORKDIR /var/www/html WORKDIR /var/www/html
COPY ./public/ . COPY ./public/ .
CMD ["apache2ctl", "-D", "FOREGROUND"] CMD ["apache2ctl", "-D", "FOREGROUND"]

View file

@ -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"]