fix: really divided chown and chgrp
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f702fa31bd
commit
18032e8ee9
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user