|
@@ -15,7 +15,7 @@ WORKDIR /kumbiaphp
|
|
|
RUN git clone -b v1.0.0-rc.2 --single-branch --depth 1 https://github.com/KumbiaPHP/KumbiaPHP.git vendor/Kumbia
|
|
|
RUN git clone -b v0.4.0 --single-branch --depth 1 https://github.com/KumbiaPHP/ActiveRecord.git vendor/Kumbia/ActiveRecord
|
|
|
|
|
|
-RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 1024|pm.max_children = 512|g" /etc/php/7.2/fpm/php-fpm.conf ; fi;
|
|
|
+RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 2048|pm.max_children = 512|g" /etc/php/7.2/fpm/php-fpm.conf ; fi;
|
|
|
|
|
|
CMD service php7.2-fpm start && \
|
|
|
nginx -c /kumbiaphp/deploy/nginx.conf -g "daemon off;"
|