mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2025-12-11 21:02:40 +01:00
Fix issue where wp-config.php is not initialized
This commit is contained in:
@@ -34,6 +34,7 @@ COPY --from=rootfs ["/", "/"]
|
|||||||
|
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
&& chmod a+x /usr/local/bin/wp \
|
&& 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"
|
&& wp-apply-patch "/etc/wp-mods/wp-admin-update-core.patch" "/var/www/html/wp-admin/update-core.php" "true"
|
||||||
|
|
||||||
ARG WP_VERSION
|
ARG WP_VERSION
|
||||||
|
|||||||
Reference in New Issue
Block a user