mirror of
https://github.com/mashirozx/docker-php-nginx.git
synced 2024-11-22 06:48:14 +08:00
Create symlink to php
This commit is contained in:
parent
dab1e6766f
commit
4689e12a6a
@ -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 && \
|
php8-mbstring php8-gd nginx supervisor curl && \
|
||||||
rm /etc/nginx/conf.d/default.conf
|
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
|
# Configure nginx
|
||||||
COPY config/nginx.conf /etc/nginx/nginx.conf
|
COPY config/nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user