From 60685d3a0e82d1da0f2900bb514f06db5c497733 Mon Sep 17 00:00:00 2001 From: Ihor_Zhekov Date: Fri, 6 Feb 2026 09:03:00 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 073140e..a348d71 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,12 @@ -FROM nginx:alpine +FROM php:8.2-apache -RUN rm -rf /usr/share/nginx/html/* +RUN a2enmod rewrite -COPY ["Profice WebSite/", "/usr/share/nginx/html/"] +COPY ["Profice WebSite/", "/var/www/html/"] -RUN chmod -R 755 /usr/share/nginx/html/ +RUN chown -R www-data:www-data /var/www/html \ + && chmod -R 755 /var/www/html + +RUN ls -la /var/www/html EXPOSE 80 \ No newline at end of file