aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 5 insertions, 5 deletions
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}