Commit 180bda57 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Move a bunch of top-level files into subdirectories

parent 8b83919a
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
ARG nginx_version=latest
FROM nginx:${nginx_version} as nginx
LABEL uk.org.kodo.maintainer = "Dom Sekotill <dom.sekotill@kodo.org.uk>"
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY data/nginx.conf /etc/nginx/conf.d/default.conf


FROM php:7.3-fpm-alpine as deps
@@ -20,17 +20,17 @@ ARG wp_version=latest
WORKDIR /app
ENV WORDPRESS_ROOT=/app

COPY wp.sh /usr/local/bin/wp
COPY scripts/wp.sh /usr/local/bin/wp
COPY --from=compile /usr/local/etc/php /usr/local/etc/php
COPY --from=compile /usr/local/lib/php /usr/local/lib/php
RUN --mount=type=bind,source=scripts/install-wp.sh,target=/stage \
    /stage ${wp_version}

COPY probe.php wp-content/mu-plugins/
COPY fpm.conf /usr/local/etc/php-fpm.d/image.conf
COPY opcache.ini /usr/local/etc/php/conf.d/opcache-recommended.ini
COPY wp-config.php /usr/share/wordpress/wp-config.php
COPY entrypoint.sh /bin/entrypoint
COPY plugins/probe.php wp-content/mu-plugins/
COPY data/fpm.conf /usr/local/etc/php-fpm.d/image.conf
COPY data/opcache.ini /usr/local/etc/php/conf.d/opcache-recommended.ini
COPY data/wp-config.php /usr/share/wordpress/wp-config.php
COPY scripts/entrypoint.sh /bin/entrypoint

# PAGER is used by the wp-cli tool, the default 'less' is not installed
ENV PAGER=more
+0 −0

File moved.

+0 −0

File moved.

+0 −0

File moved.

+0 −0

File moved.

Loading