From a6864ea9bc661cce38c6bc3aa2e8bdc8dafa18a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20MIELCAREK?= Date: Sat, 29 Oct 2022 19:51:00 +0200 Subject: [PATCH] Update 'Sources/api_redirect/Dockerfile' --- Sources/api_redirect/Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Sources/api_redirect/Dockerfile b/Sources/api_redirect/Dockerfile index bde780c..a9c5818 100644 --- a/Sources/api_redirect/Dockerfile +++ b/Sources/api_redirect/Dockerfile @@ -1,2 +1,10 @@ +#FROM httpd:2.4 +#COPY ./public-html/ /usr/local/apache2/htdocs/ + FROM httpd:2.4 -COPY ./public-html/ /usr/local/apache2/htdocs/ \ No newline at end of file +COPY ./public-html/ /usr/local/apache2/htdocs/ +RUN mkdir -p /run/apache2/ && \ + chown www-data:www-data /run/apache2/ && \ + chmod 777 /run/apache2/ + +EXPOSE 80 443 \ No newline at end of file