File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 14
14
"database" : " MySQL" ,
15
15
"framework" : " cakephp" ,
16
16
"language" : " PHP" ,
17
- "flavor" : " PHP7 " ,
17
+ "flavor" : " PHP8.1 " ,
18
18
"orm" : " Full" ,
19
19
"platform" : " FPM/FastCGI" ,
20
20
"webserver" : " nginx" ,
Original file line number Diff line number Diff line change @@ -6,22 +6,22 @@ RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /de
6
6
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
7
7
RUN apt-get update -yqq > /dev/null && \
8
8
apt-get install -yqq nginx git unzip \
9
- php8.0 -fpm php8.0 -mysql php8.0 -xml php8.0 -mbstring php8.0 -intl > /dev/null
9
+ php8.1 -fpm php8.1 -mysql php8.1 -xml php8.1 -mbstring php8.1 -intl php8.1-dev > /dev/null
10
10
11
11
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
12
12
13
- COPY deploy/conf/* /etc/php/8.0 /fpm/
14
- COPY deploy/conf/* /etc/php/8.0 /cli/
13
+ COPY deploy/conf/* /etc/php/8.1 /fpm/
14
+ COPY deploy/conf/* /etc/php/8.1 /cli/
15
15
16
16
ADD ./ /cakephp
17
17
WORKDIR /cakephp
18
18
19
- RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 1024|pm.max_children = 512|g" /etc/php/8.0 /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.1 /fpm/php-fpm.conf ; fi;
20
20
21
21
RUN composer install --optimize-autoloader --classmap-authoritative --no-dev --quiet
22
22
23
23
RUN chmod -R 777 /cakephp
24
24
25
- CMD service php8.0 -fpm start && \
25
+ CMD service php8.1 -fpm start && \
26
26
nginx -c /cakephp/deploy/nginx.conf
27
27
Original file line number Diff line number Diff line change 5
5
"type" : " project" ,
6
6
"license" : " MIT" ,
7
7
"require" : {
8
- "cakephp/cakephp" : " ^4.1 " ,
8
+ "cakephp/cakephp" : " ^4.3 " ,
9
9
"cakephp/plugin-installer" : " ^1.0"
10
10
},
11
11
"autoload" : {
You can’t perform that action at this time.
0 commit comments