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
2
2
3
3
ARG DEBIAN_FRONTEND=noninteractive
4
4
@@ -7,16 +7,16 @@ RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php > /dev/null && \
7
7
apt-get update -yqq > /dev/null && apt-get upgrade -yqq > /dev/null
8
8
9
9
RUN 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
11
11
12
12
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
13
13
14
- COPY deploy/conf/* /etc/php/8.3 /fpm/
14
+ COPY deploy/conf/* /etc/php/8.4 /fpm/
15
15
16
16
ADD ./ /codeigniter
17
17
WORKDIR /codeigniter
18
18
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;
20
20
21
21
RUN composer install --optimize-autoloader --classmap-authoritative --no-dev
22
22
# --quiet
@@ -25,5 +25,5 @@ RUN chmod -R 777 writable
25
25
26
26
EXPOSE 8080
27
27
28
- CMD service php8.3 -fpm start && \
28
+ CMD service php8.4 -fpm start && \
29
29
nginx -c /codeigniter/deploy/nginx.conf
You can’t perform that action at this time.
0 commit comments