Fix TypeError at /jsi18n/

Close #11.
This commit is contained in:
Régis Behmo 2020-12-28 08:32:38 +01:00
parent 752a75cd77
commit 9a0935fe9f

View File

@ -12,6 +12,10 @@ RUN mkdir -p /openedx/discovery && \
git clone $DISCOVERY_REPOSITORY --branch $DISCOVERY_VERSION --depth 1 /openedx/discovery
WORKDIR /openedx/discovery
# Fix TypeError at /jsi18n/
# https://github.com/edx/course-discovery/pull/2860
RUN curl https://github.com/edx/course-disco/commit/cbbefd56a4efa67070288e94a260c5e069d035d6.patch | git apply -
# Setup minimal yml config file, which is required by production settings
COPY config.yml /openedx/config.yml
ENV DISCOVERY_CFG /openedx/config.yml