File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ ARG http_proxy
77ARG https_proxy
88ARG no_proxy
99
10+ # NOTE: set to ES8 or Elasticsearch 8 or OS for Opensearch
11+ ARG COGSTACK_BACKEND=ES9
12+
1013# set to "true" for the GPU build
1114ARG GPU_BUILD=false
1215
@@ -223,6 +226,8 @@ RUN if [ "$GPU_BUILD" = "true" ] && [ "$CPU_ARCHITECTURE" = "amd64" ]; then \
223226 uv run python -m medcat download-scripts /srv/jupyterhub/ && \
224227 uv pip install --system --no-cache-dir -r /srv/jupyterhub/medcat-scripts/requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu/ ; \
225228 fi && \
229+ # install cogstack-es (Cogstack class)
230+ uv pip install "cogstack-es[$COGSTACK_BACKEND]" && \
226231 mv /srv/jupyterhub/medcat-scripts/notebooks/* /home/jovyan/work/. # move notebooks
227232
228233#######################################################################################################
You can’t perform that action at this time.
0 commit comments