php-fpm: don't drop to app user in docker, let fpm handle this
All checks were successful
php-fpm-build / build (7.4) (push) Successful in 4m33s
All checks were successful
php-fpm-build / build (7.4) (push) Successful in 4m33s
This commit is contained in:
@@ -105,7 +105,6 @@ COPY --chown=root:root shared/php-fpm/entrypoint.sh /usr/local/bin/entrypoint.sh
|
|||||||
RUN chmod 755 /usr/local/bin/entrypoint.sh
|
RUN chmod 755 /usr/local/bin/entrypoint.sh
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
USER app
|
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||||
CMD ["php-fpm"]
|
CMD ["php-fpm"]
|
||||||
|
|||||||
Reference in New Issue
Block a user