This commit is contained in:
vSpaike 2025-01-21 08:48:07 +01:00
parent a2054832d6
commit fd8296498c

View file

@ -1,7 +1,8 @@
FROM debian:stable-slim FROM ubuntu:lastest AS webserver
RUN apt-get update \ RUN apt-get update && apt-get install -y apache2
&& apt-get install -y apache2 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /var/www/html WORKDIR /var/www/html
COPY ./public/ . COPY ./public/ .
CMD ["apache2ctl", "-D", "FOREGROUND"] CMD ["apache2ctl", "-D", "FOREGROUND"]