Skip to content

Commit 43e4582

Browse files
committed
CU-869az43jq: Update download script usage for scripts download
1 parent cfc10fa commit 43e4582

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile_singleuser

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,12 @@ COPY ./requirements.txt /srv/jupyterhub/
215215

216216
RUN if [ "$GPU_BUILD" = "true" ] && [ "$CPU_ARCHITECTURE" = "amd64" ]; then \
217217
uv pip install --system --no-cache-dir -r /srv/jupyterhub/requirements.txt && \
218-
# TODO: Figure out exact syntax
219-
uv run python -m medcat download-scripts /srv/jupyterhub/medcat-scripts && \
218+
# NOTE: it'll create the medcat-scripts folder within
219+
uv run python -m medcat download-scripts /srv/jupyterhub/ && \
220220
uv pip install --system --no-cache-dir -r /srv/jupyterhub/medcat-scripts/requirements.txt ; \
221221
else \
222222
uv pip install --system --no-cache-dir -r /srv/jupyterhub/requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu/ && \
223-
uv run python -m medcat download-scripts /srv/jupyterhub/medcat-scripts && \
223+
uv run python -m medcat download-scripts /srv/jupyterhub/ && \
224224
uv pip install --system --no-cache-dir -r /srv/jupyterhub/medcat-scripts/requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu/ ; \
225225
fi && \
226226
mv /srv/jupyterhub/medcat-scripts/notebooks/* /home/jovyan/work/. # move notebooks

0 commit comments

Comments
 (0)