Update Monolog action level to info, adjust Dockerfile permissions and logging configuration, and set supervisord user to root
This commit is contained in:
1 parent
4ae7a44881
commit
391ecf1732
5 files changed
+24
-2
No files matched your search
@@ -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