diff --git a/Dockerfile b/Dockerfile index 073140e..458159c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM nginx:alpine +FROM webdevops/php-nginx:8.2-alpine -RUN rm -rf /usr/share/nginx/html/* +ENV WEB_DOCUMENT_ROOT=/app -COPY ["Profice WebSite/", "/usr/share/nginx/html/"] +COPY ["Profice WebSite/", "/app/"] -RUN chmod -R 755 /usr/share/nginx/html/ +RUN chown -R application:application /app EXPOSE 80 \ No newline at end of file diff --git a/Profice WebSite/index.html b/Profice WebSite/index.html index c69a059..ebc3a2f 100644 --- a/Profice WebSite/index.html +++ b/Profice WebSite/index.html @@ -33,12 +33,8 @@
- -