Install tensorflow from conda instead of pip

This commit is contained in:
Ayaz Salikhov
2021-04-30 09:14:04 +03:00
parent 584f43f065
commit 56a99320eb

View File

@@ -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}"