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
19
19
# Configure supervisord
20
20
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
21
21
22
+ # Setup document root
23
+ RUN mkdir -p /var/www/html
24
+
22
25
# 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 && \
24
28
chown -R nobody.nobody /var/lib/nginx && \
25
29
chown -R nobody.nobody /var/tmp/nginx && \
26
30
chown -R nobody.nobody /var/log/nginx
27
31
28
- # Setup document root
29
- RUN mkdir -p /var/www/html
30
-
31
32
# Make the document root a volume
32
33
VOLUME /var/www/html
33
34
You can’t perform that action at this time.
0 commit comments