You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
501 B

  1. FROM wordpress:5.7.2
  2. RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
  3. RUN sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 256M/' "$PHP_INI_DIR/php.ini"
  4. RUN sed -i 's/max_input_time = 60/max_input_time = 300/' "$PHP_INI_DIR/php.ini"
  5. RUN sed -i 's/memory_limit = 128M/memory_limit = 256M/' "$PHP_INI_DIR/php.ini"
  6. RUN sed -i 's/max_execution_time = 30/max_execution_time = 300/' "$PHP_INI_DIR/php.ini"
  7. RUN sed -i 's/post_max_size = 8M/post_max_size = 512M/' "$PHP_INI_DIR/php.ini"