Fateme73 commited on
Commit
0ccdc96
·
verified ·
1 Parent(s): 59e2fd5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -51,7 +51,8 @@ RUN curl -sLo ~/miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-late
51
  && chmod +x ~/miniconda.sh \
52
  && ~/miniconda.sh -b -p ~/miniconda \
53
  && rm ~/miniconda.sh \
54
- && conda clean -ya
 
55
 
56
  WORKDIR $HOME/app
57
 
@@ -79,9 +80,8 @@ RUN mkdir /data && chown user:user /data
79
 
80
  USER user
81
 
82
- # Install TensorFlow 1.15 in Conda
83
- RUN pip install --no-cache-dir tensorflow-gpu==1.15
84
-
85
 
86
  # Python packages
87
  RUN --mount=target=requirements.txt,source=requirements.txt \
 
51
  && chmod +x ~/miniconda.sh \
52
  && ~/miniconda.sh -b -p ~/miniconda \
53
  && rm ~/miniconda.sh \
54
+ && conda install -y python=3.6 && \
55
+ conda clean -ya
56
 
57
  WORKDIR $HOME/app
58
 
 
80
 
81
  USER user
82
 
83
+ # Install TensorFlow 1.15 using Conda
84
+ RUN conda install -c conda-forge tensorflow-gpu=1.15
 
85
 
86
  # Python packages
87
  RUN --mount=target=requirements.txt,source=requirements.txt \