Update Dockerfile

This commit is contained in:
2026-02-06 09:03:00 +00:00
parent 34c830b1a0
commit 60685d3a0e

View File

@@ -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