Update depends #8

Merged
Fascinated merged 5 commits from development into master 2023-10-13 18:51:48 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit f342efdabf - Show all commits

@ -9,7 +9,7 @@ WORKDIR /tmp
RUN wget https://nginx.org/download/nginx-1.25.2.tar.gz RUN wget https://nginx.org/download/nginx-1.25.2.tar.gz
RUN tar -xzvf nginx-1.25.2.tar.gz RUN tar -xzvf nginx-1.25.2.tar.gz
WORKDIR /tmp/nginx-1.25.2 WORKDIR /tmp/nginx-1.25.2
RUN ./configure --prefix=/usr/local/nginx --sbin-path=/usr/local/sbin/nginx RUN ../configure --prefix=/usr/local/nginx --sbin-path=/usr/local/sbin/nginx --conf-path=/etc/nginx/nginx.conf
RUN make RUN make
RUN make install RUN make install

@ -41,7 +41,7 @@ function start() {
echo "Starting PHP & Nginx" echo "Starting PHP & Nginx"
php-fpm81 && php-fpm81 &&
chmod 777 /run/php/php.sock && chmod 777 /run/php/php.sock &&
nginx -g 'daemon off;' /usr/local/sbin/nginx -g 'daemon off;'
} }
# Start Nginx and retry if it fails # Start Nginx and retry if it fails