diff --git a/changelog.d/20231102_142414_faraz.maqsood_fix_extra_requirements_issue.md b/changelog.d/20231102_142414_faraz.maqsood_fix_extra_requirements_issue.md new file mode 100644 index 0000000..40ac0f7 --- /dev/null +++ b/changelog.d/20231102_142414_faraz.maqsood_fix_extra_requirements_issue.md @@ -0,0 +1 @@ +- [BugFix] Corrected variable name for installing extra pip requirements. (by @Faraz32123) \ No newline at end of file diff --git a/tutordiscovery/templates/discovery/build/discovery/Dockerfile b/tutordiscovery/templates/discovery/build/discovery/Dockerfile index c0499d9..47d5754 100644 --- a/tutordiscovery/templates/discovery/build/discovery/Dockerfile +++ b/tutordiscovery/templates/discovery/build/discovery/Dockerfile @@ -48,7 +48,7 @@ ENV PATH /openedx/nodeenv/bin:${PATH} # instructions to benefit from docker image caching # Install base requirements RUN {% if is_buildkit_enabled() %}--mount=type=cache,target=/openedx/.cache/pip,sharing=shared {% endif %}pip install -r requirements.txt -{% for extra_requirement in DISCOVERY_EXTRA_PIP_REQUIREMENTS %}RUN {% if is_buildkit_enabled() %}--mount=type=cache,target=/openedx/.cache/pip,sharing=shared {% endif %}pip install '{{ extra_requirements }}' +{% for extra_requirement in DISCOVERY_EXTRA_PIP_REQUIREMENTS %}RUN {% if is_buildkit_enabled() %}--mount=type=cache,target=/openedx/.cache/pip,sharing=shared {% endif %}pip install '{{ extra_requirement }}' {% endfor %} # Install npm, bower requirements