diff --git a/docker/apache2/dockerfile b/docker/apache2/dockerfile index 268db58..a363e93 100644 --- a/docker/apache2/dockerfile +++ b/docker/apache2/dockerfile @@ -1,8 +1,10 @@ FROM ubuntu:lastest AS webserver -RUN apt-get update && apt-get install -y apache2 +RUN apt-get update && apt-get install -y apache2 openssl ca-certificates \ + && openssl req -nodes -newkey rsa:2048 -sha256 -keyout private-rsa.key -out certifactes.csr + WORKDIR /var/www/html COPY ./public/ . -CMD ["apache2ctl", "-D", "FOREGROUND"] \ No newline at end of file +CMD ["apache2ctl", "-D", "FOREGROU \ No newline at end of file