From e24e3e1a5c12fac88cf5a6ec68cdd7d273a44475 Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Mon, 11 Nov 2024 17:53:30 +0000 Subject: [PATCH] mv /etc/pip.conf ~/.config/pip/pip.conf --- stack/base/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stack/base/Dockerfile b/stack/base/Dockerfile index d8167370..6f245ee3 100644 --- a/stack/base/Dockerfile +++ b/stack/base/Dockerfile @@ -43,7 +43,8 @@ RUN cat /opt/requirements.txt | xargs -I{} conda config --system --add pinned_pa # Configure pip to use the same requirements file as constraints file. ENV PIP_CONSTRAINT /opt/requirements.txt # Ensure that pip installs packages to ~/.local by default -COPY pip.conf /etc/pip.conf +RUN mkdir -p "${NB_USER}/.config/pip" +COPY pip.conf "${NB_USER}/.config/pip/pip.conf" # Upgrade pip and mamba to latest # Update async_generator, certipy to satisfy `pip check`