mirror of
https://ghproxy.net/https://github.com/elementor/wp2static.git
synced 2025-08-30 12:09:25 +08:00
15 lines
482 B
Docker
15 lines
482 B
Docker
FROM wordpress:latest
|
|
|
|
RUN touch /var/log/apache2/php_err.log && chown www-data:www-data /var/log/apache2/php_err.log
|
|
COPY provisioning/php_error.ini /usr/local/etc/php/conf.d/php_error.ini
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y inotify-tools rsync mysql-client \
|
|
&& docker-php-ext-install zip
|
|
|
|
# install wp cli
|
|
RUN curl -L https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -o /usr/local/bin/wp
|
|
RUN chmod +x /usr/local/bin/wp
|
|
|
|
COPY provisioning/*.sh /
|
|
|