Skip to content

Commit 5173568

Browse files
committed
Docker singleuser correction.
1 parent a8c749f commit 5173568

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile_singleuser

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,13 @@ RUN uv pip install --upgrade --system pip setuptools wheel
212212

213213
# install the rest of the packages including medcat
214214
COPY ./requirements.txt /srv/jupyterhub/
215+
# install requirements for working with cogstack scripts
216+
COPY notebooks/demo_working_with_cogstack/requirements.txt /srv/jupyterhub/working_with_cogstack_requirements.txt
215217

216218
RUN if [ "$GPU_BUILD" = "true" ] && [ "$CPU_ARCHITECTURE" = "amd64" ]; then \
217-
uv pip install --system --no-cache-dir -r /srv/jupyterhub/requirements.txt && \
219+
uv pip install --system --no-cache-dir -r /srv/jupyterhub/requirements.txt \
218220
else \
219-
uv pip install --system --no-cache-dir -r /srv/jupyterhub/requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu/ && \
221+
uv pip install --system --no-cache-dir -r /srv/jupyterhub/requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu/ \
220222
fi
221223

222224
#######################################################################################################

0 commit comments

Comments
 (0)