Skip to content

Commit 289470f

Browse files
committed
final changes
1 parent ffa4795 commit 289470f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

images/scipy-ml-notebook/Dockerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,16 @@ RUN pip install --no-cache-dir \
8080
torch==${TORCH_VERSION} \
8181
torchvision \
8282
torchaudio \
83-
--index-url https://download.pytorch.org/whl/cu124
83+
--index-url https://download.pytorch.org/whl/cu124 && \
84+
fix-permissions $CONDA_DIR && \
85+
fix-permissions /home/$NB_USER && \
86+
mamba clean -a -y
8487

85-
RUN pip install tensorflow==$TENSORFLOW_VERSION tensorflow-datasets tensorrt==$TENSORRT_VERSION keras==$KERAS_VERSION tf-keras==$TENSORFLOW_VERSION && \
88+
RUN pip install --no-cache-dir \
89+
tensorflow==$TENSORFLOW_VERSION tensorflow-datasets tensorrt==$TENSORRT_VERSION keras==$KERAS_VERSION tf-keras==$TENSORFLOW_VERSION && \
8690
fix-permissions $CONDA_DIR && \
8791
fix-permissions /home/$NB_USER && \
88-
mamba clean -a -y && \
89-
pip cache purge
92+
mamba clean -a -y
9093

9194
RUN pip install transformers datasets accelerate huggingface-hub timm && \
9295
fix-permissions $CONDA_DIR && \

0 commit comments

Comments
 (0)