From 5818bd53398c4c555579b48762238c7e47b9759a Mon Sep 17 00:00:00 2001 From: gitea Date: Fri, 18 Jun 2021 08:12:25 +0000 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20'wp/Dockerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wp/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 wp/Dockerfile diff --git a/wp/Dockerfile b/wp/Dockerfile new file mode 100644 index 0000000..0e72f4d --- /dev/null +++ b/wp/Dockerfile @@ -0,0 +1,8 @@ +FROM wordpress:5.7.2 +RUN cd /usr/local/etc/php +RUN cp php.ini-production php.ini +RUN sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 256M/' php.ini +RUN sed -i 's/max_input_time = 60/max_input_time = 300/' php.ini +RUN sed -i 's/memory_limit = 128M/memory_limit = 256M/' php.ini +RUN sed -i 's/max_execution_time = 30/max_execution_time = 300/' php.ini +RUN sed -i 's/post_max_size = 8M/post_max_size = 512M/' php.ini \ No newline at end of file