modified Dockerfile
parent
38c2793a3a
commit
ee08809fa9
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue