Skip to content

Commit

Permalink
feat: add patch ecommerce-dockerfile-pre-assets
Browse files Browse the repository at this point in the history
  • Loading branch information
igobranco authored and Faraz32123 committed Nov 24, 2023
1 parent 5eceee6 commit a3163ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/20231123_114642_ivo.branco.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- [Feature] Add patch ecommerce-dockerfile-pre-assets. (by @igobranco)
2 changes: 2 additions & 0 deletions tutorecommerce/templates/ecommerce/build/ecommerce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ RUN cd /openedx/requirements/ \
{% for extra_requirement in ECOMMERCE_EXTRA_PIP_REQUIREMENTS %}RUN {% if is_buildkit_enabled() %}--mount=type=cache,target=/openedx/.cache/pip,sharing=shared,uid=${APP_USER_ID} {% endif %}pip install '{{ extra_requirement }}'
{% endfor %}

{{ patch("ecommerce-dockerfile-pre-assets") }}

# Collect static assets (aka: "make static")
COPY --chown=app:app assets.py ./ecommerce/settings/assets.py
ENV DJANGO_SETTINGS_MODULE ecommerce.settings.assets
Expand Down

0 comments on commit a3163ea

Please sign in to comment.