I am trying to dockerize Drupal 8. One thing which I couldn't wrap my head around is making customizations available to new containers. For instance, I have downloaded Bootstrap theme in my dockerfile and it shows under Appearance > Uninstalled themes. And I can Install and set it as default from admin UI. However, I don't want my docker image/container users to deal with this instead it should be installed by default when they run the container.
Is there any way to achieve this?
Here is my Dockerfile:
FROM drupal:8.9.13
RUN cd /opt/drupal/ \
&& composer require drupal/bootstrap:^3.23 \
&& composer install \
&& chown www-data:www-data -R /opt/drupal/web/themes
P.S. I'm new to Drupal workloads.