From bb5751abecafdc4ffcdb6df17d031c49a6058a53 Mon Sep 17 00:00:00 2001 From: Denis Urban Date: Mon, 21 Aug 2023 11:54:31 +0200 Subject: [PATCH] create symlinkg for php --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index c9632b190..42b736c37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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