Update Monolog action level to info, adjust Dockerfile permissions and logging configuration, and set supervisord user to root
This commit is contained in:
@@ -125,7 +125,9 @@ COPY docker/prod/entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh \
|
||||
&& mkdir -p /run/nginx /var/log/supervisor \
|
||||
&& chown -R www-data:www-data /var/www/html
|
||||
&& chown -R www-data:www-data /run/nginx /var/log/supervisor /var/www/html
|
||||
RUN mkdir -p /var/lib/nginx /var/log/nginx && chown -R www-data:www-data /var/lib/nginx /var/log/nginx
|
||||
RUN sed -i 's|^error_log =.*|error_log = /proc/self/fd/2|' /usr/local/etc/php-fpm.conf
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
|
||||
Reference in New Issue
Block a user