Skip to content

Commit

Permalink
Create /opt/install to ensure it's writable by pip
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Oct 22, 2023
1 parent 0274d14 commit eb2dcf4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Expand Up @@ -15,7 +15,9 @@ RUN apt-get -y -qq update \
tigervnc-xorg-extension \
# chown $HOME to workaround that the xorg installation creates a
# /home/jovyan/.cache directory owned by root
&& chown -R $NB_UID:$NB_GID $HOME \
# Create /opt/install to ensure it's writable by pip
&& mkdir -p /opt/install \
&& chown -R $NB_UID:$NB_GID $HOME /opt/install \
&& rm -rf /var/lib/apt/lists/*

USER $NB_USER
Expand Down

0 comments on commit eb2dcf4

Please sign in to comment.