overhangio / tutor-ecommerce

Ecommerce plugin for Tutor
GNU Affero General Public License v3.0
17 stars 50 forks source link

feat: add patch ecommerce-dockerfile-pre-assets #52

Closed igobranco closed 11 months ago

igobranco commented 11 months ago

Add a patch ecommerce-dockerfile-pre-assets that allows to add new commands on ecommerce Dockerfile before running the collect static assets. The name of the patch was inspired by the tutor openedx-dockerfile-pre-assets patch. https://github.com/fccn/tutor/blob/74ef1ae56e9bbd4c6a9441a10bb90576136243be/tutor/templates/build/openedx/Dockerfile/#L193

This new patch allows, for example, to add a custom theme to the ecommerce.

ecommerce-dockerfile-pre-assets: |
    COPY --chown=app:app ./themes/ /openedx/ecommerce/ecommerce/themes/