This commit is contained in:
2026-02-09 14:31:51 +01:00
parent 5e75a7c2d6
commit a6c2e8681d
2 changed files with 16 additions and 5 deletions

View File

@@ -1,13 +1,9 @@
FROM webdevops/php-nginx:8.2-alpine
ENV WEB_DOCUMENT_ROOT=/app
COPY ["Profice WebSite/", "/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
COPY vhost.conf /opt/docker/etc/nginx/vhost.common.d/10-location-root.conf
RUN chown -R application:application /app && chmod -R 755 /app