From e398d3a71aeb08564689713c05bc8cf2fc01897a Mon Sep 17 00:00:00 2001 From: xZero707 Date: Tue, 24 Jan 2023 02:17:20 +0100 Subject: [PATCH] Fix issue where wp-config.php is not initialized --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 5d0a598..f56789b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,6 +34,7 @@ COPY --from=rootfs ["/", "/"] RUN set -eux \ && chmod a+x /usr/local/bin/wp \ + && mv "/var/www/html/wp-config-docker.php" "/var/www/html/wp-config.php" \ && wp-apply-patch "/etc/wp-mods/wp-admin-update-core.patch" "/var/www/html/wp-admin/update-core.php" "true" ARG WP_VERSION