This commit is contained in:
parent
35de6217f7
commit
f702fa31bd
@ -18,7 +18,8 @@ RUN addgroup fpm && adduser -u 8888 -D -G fpm fpm
|
|||||||
|
|
||||||
RUN rm -rf /var/www/html/*
|
RUN rm -rf /var/www/html/*
|
||||||
COPY --from=builder /wikindx /var/www/html/
|
COPY --from=builder /wikindx /var/www/html/
|
||||||
RUN chown -R fpm.fpm /var/www/html/
|
RUN chown -R fpm /var/www/html/
|
||||||
|
RUN chgrp -R fpm /var/www/html/
|
||||||
|
|
||||||
ADD files/wikindx_pool.conf /etc/php/8.2/fpm/pool/
|
ADD files/wikindx_pool.conf /etc/php/8.2/fpm/pool/
|
||||||
ADD files/entryPoint.sh /entryPoint.sh
|
ADD files/entryPoint.sh /entryPoint.sh
|
||||||
|
@ -16,8 +16,8 @@ RUN chmod a+x /entryPoint.sh
|
|||||||
|
|
||||||
ADD files/default.conf /etc/nginx/http.d/
|
ADD files/default.conf /etc/nginx/http.d/
|
||||||
RUN sed -i '1idaemon off;' /etc/nginx/nginx.conf
|
RUN sed -i '1idaemon off;' /etc/nginx/nginx.conf
|
||||||
RUN chown -R nginx.nginx /etc/nginx
|
RUN chown -R nginx /etc/nginx
|
||||||
|
RUN chgrp -R nginx /etc/nginx
|
||||||
|
|
||||||
USER nginx
|
USER nginx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user