Skip to content

Commit 4689e12

Browse files
committed
Create symlink to php
1 parent dab1e67 commit 4689e12

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ RUN apk --no-cache add php8 php8-fpm php8-opcache php8-mysqli php8-json php8-ope
88
php8-mbstring php8-gd nginx supervisor curl && \
99
rm /etc/nginx/conf.d/default.conf
1010

11+
# Create symlink so programs depending on `php` still function
12+
RUN ln -s /usr/bin/php8 /usr/bin/php
13+
1114
# Configure nginx
1215
COPY config/nginx.conf /etc/nginx/nginx.conf
1316

0 commit comments

Comments
 (0)