File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,16 @@ COPY config/php.ini /etc/php7/conf.d/custom.ini
1919# Configure supervisord
2020COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
2121
22+ # Setup document root
23+ RUN mkdir -p /var/www/html
24+
2225# Make sure files/folders needed by the processes are accessable when they run under the nobody user
23- RUN chown -R nobody.nobody /run && \
26+ RUN chown -R nobody.nobody /var/www/html && \
27+ chown -R nobody.nobody /run && \
2428 chown -R nobody.nobody /var/lib/nginx && \
2529 chown -R nobody.nobody /var/tmp/nginx && \
2630 chown -R nobody.nobody /var/log/nginx
2731
28- # Setup document root
29- RUN mkdir -p /var/www/html
30-
3132# Make the document root a volume
3233VOLUME /var/www/html
3334
You can’t perform that action at this time.
0 commit comments