From 4689e12a6ac9bcff56f2c2e26c021af0ee40f0af Mon Sep 17 00:00:00 2001 From: Tim de Pater Date: Mon, 17 May 2021 13:03:59 +0200 Subject: [PATCH] Create symlink to php --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 72b9d5c..b77d18d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,9 @@ RUN apk --no-cache add php8 php8-fpm php8-opcache php8-mysqli php8-json php8-ope php8-mbstring php8-gd nginx supervisor curl && \ rm /etc/nginx/conf.d/default.conf +# Create symlink so programs depending on `php` still function +RUN ln -s /usr/bin/php8 /usr/bin/php + # Configure nginx COPY config/nginx.conf /etc/nginx/nginx.conf