diff options
| author | Ján Jančár | 2025-11-22 13:52:24 +0100 |
|---|---|---|
| committer | GitHub | 2025-11-22 13:52:24 +0100 |
| commit | 8436df07381295b05a0cc892cca27e475629ee80 (patch) | |
| tree | 9b940ee0a8851baaff67567c4004cd3c2cc027fd /Dockerfile | |
| parent | 7cfa1c9fc498013d1a4807e5a11f55f39e6595aa (diff) | |
| parent | 21aa562cdd1c21cc66e0b19b52b414af2782377e (diff) | |
| download | sec-certs-main.tar.gz sec-certs-main.tar.zst sec-certs-main.zip | |
Move to uv
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} |
