diff options
| author | J08nY | 2025-11-17 17:55:02 +0100 |
|---|---|---|
| committer | J08nY | 2025-11-17 17:55:02 +0100 |
| commit | 0a99fb4db3ef07c8e02847c30d54f4ac34685ede (patch) | |
| tree | 0f6141ddfd1b7881641a23e8a634d0184e2d2190 /Dockerfile | |
| parent | dc8cd4bfb5acee6abab74c7401b43505f669cec3 (diff) | |
| download | sec-certs-0a99fb4db3ef07c8e02847c30d54f4ac34685ede.tar.gz sec-certs-0a99fb4db3ef07c8e02847c30d54f4ac34685ede.tar.zst sec-certs-0a99fb4db3ef07c8e02847c30d54f4ac34685ede.zip | |
Fixup Dockerfile.
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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} |
