From 66ee1dbb882ed794ead66e6f8a0640a0e9657709 Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Fri, 6 Dec 2024 17:21:09 +0500 Subject: [PATCH] build: Update notes and analytics docker config (#69) * build: update dashboard and notes api config file path --- dockerfiles/edx-analytics-dashboard.Dockerfile | 2 +- dockerfiles/edx-notes-api.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerfiles/edx-analytics-dashboard.Dockerfile b/dockerfiles/edx-analytics-dashboard.Dockerfile index b333d71..2859fae 100644 --- a/dockerfiles/edx-analytics-dashboard.Dockerfile +++ b/dockerfiles/edx-analytics-dashboard.Dockerfile @@ -67,7 +67,7 @@ RUN pip install --no-cache-dir -r requirements/production.txt RUN curl -L https://github.com/edx/edx-analytics-dashboard/archive/refs/heads/master.tar.gz | tar -xz --strip-components=1 -RUN curl -L -o ${INSIGHTS_CODE_DIR}/analytics_dashboard/settings/devstack.py https://raw.githubusercontent.com/edx/devstack/master/py_configuration_files/course-discovery.py +RUN curl -L -o ${INSIGHTS_CODE_DIR}/analytics_dashboard/settings/devstack.py https://raw.githubusercontent.com/edx/devstack/master/py_configuration_files/analytics_dashboard.py RUN nodeenv ${INSIGHTS_NODEENV_DIR} --node=18.20.2 --prebuilt \ && npm install -g npm@10.5.x diff --git a/dockerfiles/edx-notes-api.Dockerfile b/dockerfiles/edx-notes-api.Dockerfile index 3fbbb64..d2aef4f 100644 --- a/dockerfiles/edx-notes-api.Dockerfile +++ b/dockerfiles/edx-notes-api.Dockerfile @@ -91,7 +91,7 @@ EXPOSE 8120 FROM app AS dev -RUN curl -L -o ${NOTES_VENV_DIR}/notesserver/settings/devstack.py https://raw.githubusercontent.com/edx/devstack/master/py_configuration_files/edx_notes_api.py +RUN curl -L -o ${NOTES_APP_DIR}/notesserver/settings/devstack.py https://raw.githubusercontent.com/edx/devstack/master/py_configuration_files/edx_notes_api.py ENV DJANGO_SETTINGS_MODULE "notesserver.settings.devstack"