mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-08 10:34:06 +00:00
Install tensorflow from conda instead of pip
This commit is contained in:
@@ -6,7 +6,9 @@ FROM $BASE_CONTAINER
|
||||
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
|
||||
|
||||
# Install Tensorflow
|
||||
RUN pip install --quiet --no-cache-dir \
|
||||
'tensorflow==2.4.1' && \
|
||||
RUN conda install --quiet --yes \
|
||||
'tensorflow=2.4.1' \
|
||||
&& \
|
||||
conda clean --all -f -y && \
|
||||
fix-permissions "${CONDA_DIR}" && \
|
||||
fix-permissions "/home/${NB_USER}"
|
||||
|
Reference in New Issue
Block a user