From f9a1ef8172304f38a7461396113531dd7e6cf812 Mon Sep 17 00:00:00 2001 From: mewu Date: Tue, 12 Nov 2024 17:30:42 -0800 Subject: [PATCH] use system managed solutions for PEP 668 --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 74568c2..8802e96 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,13 +45,14 @@ RUN add-apt-repository ppa:deadsnakes/ppa && \ python3.12-venv \ python3.12-dev \ python3-pip \ + python3-setuptools \ + python3-wheel \ && apt-get clean # Set up Python virtual environment # Install Jupyter, Quarto, and ipykernel -RUN pip install --upgrade pip setuptools wheel -RUN pip install jupyterlab jupyterlab-quarto jupyter_contrib_nbextensions quarto-cli ipykernel ipython +RUN python3 -m pip install jupyterlab jupyterlab-quarto jupyter_contrib_nbextensions quarto-cli ipykernel ipython RUN python3.12 -m venv /opt/venv --system-site-packages ENV PATH="/opt/venv/bin:$PATH"