File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,8 @@ RUN ln -sf /etc/supervisor/conf.d/supervisord.conf /etc/supervisord.conf
63
63
RUN chown -R nobody:nobody /var/www/html /run /var/lib/nginx /var/log/nginx && \
64
64
mkdir -p /run/supervisor && \
65
65
chown -R nobody:nobody /run/supervisor && \
66
- chmod 755 /dev/shm
66
+ mkdir -p /var/run && \
67
+ chown -R nobody:nobody /var/run
67
68
68
69
# Switch to use a non-root user from here on
69
70
USER nobody
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ logfile_maxbytes=0
5
5
loglevel=info
6
6
pidfile=/run/supervisord.pid
7
7
childlogdir=/run/supervisor
8
- unix_http_server=/dev/shm /supervisor.sock
8
+ unix_http_server=/var/run /supervisor.sock
9
9
chmod=0700
10
10
chown=nobody:nobody
11
11
12
12
[supervisorctl]
13
- serverurl=unix:///dev/shm /supervisor.sock
13
+ serverurl=unix:///var/run /supervisor.sock
14
14
15
15
[program:php-fpm]
16
16
command=php-fpm84 -F
Original file line number Diff line number Diff line change 1
- php-nginx:1.1.52
1
+ php-nginx:1.1.53
You can’t perform that action at this time.
0 commit comments