diff --git a/.docker/wordpress/entrypoint.sh b/.docker/wordpress/entrypoint.sh index 8947e2b..4e88559 100644 --- a/.docker/wordpress/entrypoint.sh +++ b/.docker/wordpress/entrypoint.sh @@ -196,7 +196,8 @@ run_custom_plugin_post_install_commands() { fi ( - cd "$plugin_dir" + cd /var/www/html + export PLUGIN_DIR="$plugin_dir" bash -lc "$command" ) done < <(printf '%s' "$entry" | base64 -d | yq -r '.post_install_commands[]?')