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