Update Dockerfile
This commit is contained in:
11
Dockerfile
11
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
|
||||
Reference in New Issue
Block a user