From 0a99fb4db3ef07c8e02847c30d54f4ac34685ede Mon Sep 17 00:00:00 2001 From: J08nY Date: Mon, 17 Nov 2025 17:55:02 +0100 Subject: Fixup Dockerfile. --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index e0040227..7b9f982f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,14 +52,14 @@ COPY --chown=${NB_UID}:${NB_GID} --from=intermediate /output ${HOME}/sec-certs ENV VENV_PATH=${HOME}/venv RUN python3 -m venv ${VENV_PATH} ENV PATH="${VENV_PATH}/bin:$PATH" +ENV UV_PROJECT_ENVIRONMENT=${VENV_PATH} # Install dependencies, notebook is because of mybinder.org RUN \ - pip3 install -U pip wheel pip-tools && \ - pip-sync requirements/requirements.txt && \ - pip3 install --no-cache notebook jupyterlab && \ - pip3 install -e . && \ - python -m spacy download en_core_web_sm + pip install -U pip wheel uv && \ + uv sync && \ + pip install --no-cache notebook jupyterlab && \ + uv run spacy download en_core_web_sm # just to be sure that pdftotext is in $PATH ENV PATH /usr/bin/pdftotext:${PATH} -- cgit v1.3.1