mirror of
https://github.com/Ahwxorg/Binternet.git
synced 2026-03-11 08:54:37 +00:00
fix: sed replacement
Signed-off-by: rare-magma <rare-magma@posteo.eu>
This commit is contained in:
parent
f403e7711d
commit
4d069b3a1b
1 changed files with 2 additions and 2 deletions
|
|
@ -2,8 +2,8 @@ FROM alpine:3.20
|
|||
|
||||
RUN apk add php83 php83-fpm php83-dom php83-curl php83-json php83-openssl nginx --no-cache
|
||||
RUN sed -i '/user nginx;/d' /etc/nginx/nginx.conf \
|
||||
&& sed -i 's/user = nobody/; user = nobody/' /etc/php83/php-fpm.d/www.conf \
|
||||
&& sed -i 's/group = nobody/; group = nobody/' /etc/php83/php-fpm.d/www.conf \
|
||||
&& sed -i 's/^user = nobody/; user = nobody/' /etc/php83/php-fpm.d/www.conf \
|
||||
&& sed -i 's/^group = nobody/; group = nobody/' /etc/php83/php-fpm.d/www.conf \
|
||||
&& sed -i 's/listen = 127.0.0.1:9000/listen = \/run\/php-fpm83.sock/' /etc/php83/php-fpm.d/www.conf \
|
||||
&& sed -i 's/;listen.owner = nobody/listen.owner = nginx/' /etc/php83/php-fpm.d/www.conf \
|
||||
&& sed -i 's/;listen.group = nobody/listen.group = nginx/' /etc/php83/php-fpm.d/www.conf \
|
||||
|
|
|
|||
Loading…
Reference in a new issue