Fix issue where wp-config.php is not initialized

This commit is contained in:
Aleksandar Puharic 2023-01-24 02:17:20 +01:00
parent 64722d5b6c
commit e398d3a71a
Signed by: xZero707
GPG Key ID: 3CC53DCAA9C237BB

View File

@ -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