File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,15 @@ FROM jupyterhub/singleuser:latest
33WORKDIR /tmp
44
55RUN mamba install -y \
6- pytorch \
6+ pytorch torchvision torchaudio pytorch-cuda \
77 tensorflow \
88 keras \
99 numpy \
1010 seaborn \
1111 pandas \
1212 matplotlib \
13- scikit-learn
13+ scikit-learn \
14+ -c pytorch -c nvidia
1415
1516RUN mamba clean --all -f -y && \
1617 jupyter lab clean && \
@@ -19,4 +20,5 @@ RUN mamba clean --all -f -y && \
1920 fix-permissions "/home/${NB_USER}"
2021
2122USER ${NB_UID}
22- WORKDIR "${HOME}"
23+ WORKDIR "${HOME}"
24+ COPY pip.conf /etc/pip.conf
Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ FROM jupyterhub/singleuser:latest
33WORKDIR /tmp
44
55RUN mamba install -y \
6- pytorch \
6+ pytorch torchvision torchaudio pytorch-cuda \
77 numpy \
88 seaborn \
99 pandas \
1010 matplotlib \
11- scikit-learn
11+ scikit-learn \
12+ -c pytorch -c nvidia
1213
1314RUN mamba clean --all -f -y && \
1415 jupyter lab clean && \
@@ -17,4 +18,5 @@ RUN mamba clean --all -f -y && \
1718 fix-permissions "/home/${NB_USER}"
1819
1920USER ${NB_UID}
20- WORKDIR "${HOME}"
21+ WORKDIR "${HOME}"
22+ COPY pip.conf /etc/pip.conf
You can’t perform that action at this time.
0 commit comments