Update Dockerfile

This commit is contained in:
2026-02-06 15:05:31 +00:00
parent 1f0f9abc2e
commit 3256c433af

View File

@@ -4,6 +4,11 @@ ENV WEB_DOCUMENT_ROOT=/app
COPY ["Profice WebSite/", "/app/"] COPY ["Profice WebSite/", "/app/"]
RUN chown -R application:application /app RUN echo 'location / { \
try_files $uri $uri/ $uri.html /index.php?$query_string; \
index index.html index.php; \
}' > /opt/docker/etc/nginx/vhost.common.d/10-location-root.conf
RUN chown -R application:application /app && chmod -R 755 /app
EXPOSE 80 EXPOSE 80