Best practise for piwigo plugins and themes


Newbie-question here:
I‘m wondering what would be the best practise to manage any plugins and themes inside a piwigo container (in regards to future updates):

  1. should I map a volume to their parhs to make them consistent and do all updates inside the container or
  2. should I fork the GitHub repo of the piwigo Image and modify the Dockerfile to include all Plugins and themes that I want or
  3. something else that I’m missing?

Any advice is highly appreciated!
Thanks in advance!