From 474125c55327500f0cb53f12cc95425b4e96089a Mon Sep 17 00:00:00 2001 From: silvandeleemput Date: Thu, 23 Nov 2023 21:35:46 +0100 Subject: [PATCH] update mhub model definition import Dockerfile --- models/gc_stoic_baseline/dockerfiles/Dockerfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/models/gc_stoic_baseline/dockerfiles/Dockerfile b/models/gc_stoic_baseline/dockerfiles/Dockerfile index f2e4478c..df0aa2c7 100644 --- a/models/gc_stoic_baseline/dockerfiles/Dockerfile +++ b/models/gc_stoic_baseline/dockerfiles/Dockerfile @@ -22,13 +22,9 @@ RUN git clone https://github.com/luukboulogne/stoic2021-baseline.git /tmp/algori # Install stoic2021 dependencies RUN pip3 install --no-cache-dir -r src/requirements.txt -# FIXME: temporary fix waiting for the latest base image update -# Clone the main branch of MHubAI/models -RUN git stash \ - && git fetch https://github.com/MHubAI/models.git main \ - && git merge FETCH_HEAD \ - && git sparse-checkout set "models/gc_stoic_baseline" \ - && git fetch https://github.com/MHubAI/models.git main +# Import the MHub model definiton +ARG MHUB_MODELS_REPO +RUN buildutils/import_mhub_model.sh gc_stoic_baseline ${MHUB_MODELS_REPO} # Configure STOIC src path and add it to the python path ENV STOIC_SRC_PATH=/app/src