fix: divided chown and chgrp
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dominik Meyer 2024-12-27 17:33:57 +01:00
parent 35de6217f7
commit f702fa31bd
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97
2 changed files with 4 additions and 3 deletions

View File

@ -18,7 +18,8 @@ RUN addgroup fpm && adduser -u 8888 -D -G fpm fpm
RUN rm -rf /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/entryPoint.sh /entryPoint.sh

View File

@ -16,8 +16,8 @@ RUN chmod a+x /entryPoint.sh
ADD files/default.conf /etc/nginx/http.d/
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