# Install the Nex Chat bundle and its legacy learner-dashboard mount.
COPY nex-chat-plugin.js /openedx/edx-platform/lms/static/nex-chat-plugin.js
COPY nex-chat-dashboard-loader.js /openedx/edx-platform/lms/static/nex-chat-dashboard-loader.js
COPY nex-chat-dashboard.html /openedx/edx-platform/lms/templates/nex-chat-dashboard.html
COPY nex_chat_lms /openedx/edx-platform/nex_chat_lms
COPY nex-chat-dashboard.patch /tmp/nex-chat-dashboard.patch
COPY nex-chat-lms-plugin.patch /tmp/nex-chat-lms-plugin.patch
RUN git apply /tmp/nex-chat-lms-plugin.patch
RUN git apply /tmp/nex-chat-dashboard.patch
