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