fix: really divided chown and chgrp
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dominik Meyer 2024-12-27 17:36:28 +01:00
parent f702fa31bd
commit 18032e8ee9
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97
2 changed files with 5 additions and 3 deletions

View File

@ -25,7 +25,9 @@ ADD files/wikindx_pool.conf /etc/php/8.2/fpm/pool/
ADD files/entryPoint.sh /entryPoint.sh
RUN chmod a+x /entryPoint.sh
RUN chown -R fpm.fpm /var/log/php82
RUN chown -R fpm /var/log/php82
RUN chgrp -R fpm /var/log/php82
RUN ln -s /dev/stdout /var/log/php82/error.log
RUN ln -s /dev/stdout /var/log/php82/access.log
USER fpm

View File

@ -9,8 +9,8 @@ FROM alpine:latest
RUN apk update && apk add --no-cache bash ca-certificates tini nginx
COPY --from=builder /wikindx /var/www/html/
RUN chown -R nginx.nginx /var/www/html/
RUN chown -R nginx /var/www/html/
RUN chgrp -R nginx /var/www/html/
ADD files/entryPoint.sh /entryPoint.sh
RUN chmod a+x /entryPoint.sh