Update Dockerfile
This commit is contained in:
11
Dockerfile
11
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
|
COPY ["Profice WebSite/", "/app/"]
|
||||||
|
|
||||||
|
RUN chown -R application:application /app
|
||||||
Reference in New Issue
Block a user