File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
frameworks/PHP/codeigniter Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:22 .04
1+ FROM ubuntu:24 .04
22
33ARG DEBIAN_FRONTEND=noninteractive
44
@@ -7,16 +7,16 @@ RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php > /dev/null && \
77 apt-get update -yqq > /dev/null && apt-get upgrade -yqq > /dev/null
88
99RUN apt-get update > /dev/null && apt-get install -yqq nginx git unzip \
10- php8.3 -cli php8.3 -fpm php8.3 -mysql php8.3 -mbstring php8.3 -intl php8.3 -curl > /dev/null
10+ php8.4 -cli php8.4 -fpm php8.4 -mysql php8.4 -mbstring php8.4 -intl php8.4 -curl > /dev/null
1111
1212COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
1313
14- COPY deploy/conf/* /etc/php/8.3 /fpm/
14+ COPY deploy/conf/* /etc/php/8.4 /fpm/
1515
1616ADD ./ /codeigniter
1717WORKDIR /codeigniter
1818
19- RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 1024|pm.max_children = 512|g" /etc/php/8.3 /fpm/php-fpm.conf ; fi;
19+ RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 1024|pm.max_children = 512|g" /etc/php/8.4 /fpm/php-fpm.conf ; fi;
2020
2121RUN composer install --optimize-autoloader --classmap-authoritative --no-dev
2222# --quiet
@@ -25,5 +25,5 @@ RUN chmod -R 777 writable
2525
2626EXPOSE 8080
2727
28- CMD service php8.3 -fpm start && \
28+ CMD service php8.4 -fpm start && \
2929 nginx -c /codeigniter/deploy/nginx.conf
You can’t perform that action at this time.
0 commit comments