mirror of
https://github.com/netfun2000/docker-php-nginx.git
synced 2026-04-22 00:29:10 +08:00
create symlinkg for php
This commit is contained in:
committed by
Tim de Pater
parent
397b58a5bc
commit
bb5751abec
@@ -41,6 +41,9 @@ COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
# Make sure files/folders needed by the processes are accessable when they run under the nobody user
|
||||
RUN chown -R nobody.nobody /var/www/html /run /var/lib/nginx /var/log/nginx
|
||||
|
||||
# Create symlink for php
|
||||
RUN ln -s /usr/bin/php82 /usr/bin/php
|
||||
|
||||
# Switch to use a non-root user from here on
|
||||
USER nobody
|
||||
|
||||
|
||||
Reference in New Issue
Block a user