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

19 lines
474 B
Docker

FROM wordpress:6.9-php8.2-apache
# Install WP-CLI
RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
&& chmod +x wp-cli.phar \
&& mv wp-cli.phar /usr/local/bin/wp
# Install additional PHP extensions if needed
RUN apt-get update && apt-get install -y \
less \
mariadb-client \
&& rm -rf /var/lib/apt/lists/*
# Copy PHP config
COPY php.ini /usr/local/etc/php/php.ini
COPY to-bool.php /usr/src/to-bool.php
EXPOSE 80