Skip to content

Commit

Permalink
mv /etc/pip.conf ~/.config/pip/pip.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Nov 11, 2024
1 parent a2d73d5 commit e24e3e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stack/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit e24e3e1

Please sign in to comment.