mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update Dockerfile
This commit is contained in:
parent
fd7303a8d6
commit
3744ecfa28
@ -125,7 +125,7 @@ RUN new_password=$(openssl rand -base64 12 | tr -d '/+' | head -c 16) \
|
|||||||
|
|
||||||
########## PHP-FPM ##########
|
########## PHP-FPM ##########
|
||||||
# 8.2
|
# 8.2
|
||||||
RUN update-alternatives --set php /usr/bin/php8.2
|
RUN ln -s /usr/local/lsws/$PHP_VERSION/bin/php /usr/local/bin/php
|
||||||
RUN sed -i \
|
RUN sed -i \
|
||||||
-e 's/^upload_max_filesize = .*/upload_max_filesize = 1024M/' \
|
-e 's/^upload_max_filesize = .*/upload_max_filesize = 1024M/' \
|
||||||
-e 's/^max_input_time = .*/max_input_time = 600/' \
|
-e 's/^max_input_time = .*/max_input_time = 600/' \
|
||||||
@ -134,20 +134,7 @@ RUN sed -i \
|
|||||||
-e 's/^max_execution_time = .*/max_execution_time = 600/' \
|
-e 's/^max_execution_time = .*/max_execution_time = 600/' \
|
||||||
-e 's/^opcache.enable= .*/opcache.enable=1/' \
|
-e 's/^opcache.enable= .*/opcache.enable=1/' \
|
||||||
-e 's|^;sendmail_path = .*|sendmail_path = "/usr/bin/msmtp -t"|' \
|
-e 's|^;sendmail_path = .*|sendmail_path = "/usr/bin/msmtp -t"|' \
|
||||||
/etc/php/8.2/fpm/php.ini
|
/usr/local/lsws/lsphp82/etc/php/$PHP_VERSION/litespeed/php.ini
|
||||||
RUN sed -i 's|;sendmail_path = *|sendmail_path = "/usr/bin/msmtp -t"|g' /etc/php/8.2/fpm/php.ini
|
|
||||||
|
|
||||||
|
|
||||||
RUN sed -i \
|
|
||||||
-e 's/^upload_max_filesize = .*/upload_max_filesize = 1024M/' \
|
|
||||||
-e 's/^max_input_time = .*/max_input_time = 600/' \
|
|
||||||
-e 's/^memory_limit = .*/memory_limit = -1/' \
|
|
||||||
-e 's/^post_max_size = .*/post_max_size = 1024M/' \
|
|
||||||
-e 's/^max_execution_time = .*/max_execution_time = 600/' \
|
|
||||||
-e 's/^opcache.enable= .*/opcache.enable=1/' \
|
|
||||||
/etc/php/8.2/cli/php.ini
|
|
||||||
RUN sed -i 's|;sendmail_path = *|sendmail_path = "/usr/bin/msmtp -t"|g' /etc/php/8.2/cli/php.ini
|
|
||||||
|
|
||||||
|
|
||||||
########## EMAIL ##########
|
########## EMAIL ##########
|
||||||
COPY email/msmtprc /etc/msmtprc
|
COPY email/msmtprc /etc/msmtprc
|
||||||
|
Loading…
Reference in New Issue
Block a user