diff --git a/Dockerfile b/Dockerfile index 86436a8..096c6b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,8 +40,6 @@ RUN composer install --no-dev --optimize-autoloader && \ # ------------------------------------------------- # 7️⃣ Copy your custom theme (already built) # ------------------------------------------------- -# The folder `indy-wp/indywp/` should contain the final theme -# structure, including a top‑level `style.css`. COPY indy-wp/indywp/ /var/www/html/wp-content/themes/indywp/ # ------------------------------------------------- @@ -50,9 +48,11 @@ COPY indy-wp/indywp/ /var/www/html/wp-content/themes/indywp/ COPY indy-wp/media/ /var/www/html/wp-content/themes/indywp/images/ # ------------------------------------------------- -# 9️⃣ (Optional) copy any extra project files you need +# 9️⃣ Copy any mu‑plugins (must‑use) – **default folder** # ------------------------------------------------- -#COPY yourproject/ /var/www/html/wp-content/mu-plugins/ +# Anything placed in the local `mu-plugins/` directory will be +# loaded automatically by WordPress on every request. +COPY mu-plugins/ /var/www/html/wp-content/mu-plugins/ # ------------------------------------------------- # 🔟 Ensure wp‑content is writable by www-data