From b7e7f5af4b63c9546fb7f2f836a141b365b21d36 Mon Sep 17 00:00:00 2001 From: Ihor_Zhekov Date: Fri, 6 Feb 2026 08:36:33 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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